From e9062b2867ae50b72763258367a7d48d87afba63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E5=B0=8F=E5=93=A5?= Date: Sat, 8 Aug 2020 10:23:27 +0800 Subject: [PATCH] remove python2 support --- boom-boot.spec | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/boom-boot.spec b/boom-boot.spec index bfb9f4b..54cc6ea 100644 --- a/boom-boot.spec +++ b/boom-boot.spec @@ -1,6 +1,6 @@ Name: boom-boot Version: 0.9 -Release: 5 +Release: 6 Summary: libraries and files for helping boot loger entries License: GPLv2 URL: https://github.com/bmr-cymru/boom @@ -8,18 +8,12 @@ Source0: https://github.com/bmr-cymru/boom/archive/%{version}/boom-%{version}.ta BuildArch: noarch -BuildRequires: python2-setuptools python3-setuptools python2-devel python3-devel python2-sphinx python3-sphinx +BuildRequires: python3-setuptools python3-devel python3-sphinx Patch9000: fix-compile-error-about-sphinx-build.patch Requires: python3-boom %{name}-conf -%package -n python2-boom -Summary: libraries and files for helping boot loger entries -%{?python_provide:%python_provide python2-boom} -Requires: python2 -Recommends: lvm2 %{name}-conf - %package -n python3-boom Summary: libraries and files for helping boot loger entries %{?python_provide:%python_provide python3-boom} @@ -44,16 +38,6 @@ Boom requires a BLS-compatible boot loader to run: systemd-boot project or Grub2 with BLS patch (Red Hat Grub2 build (This support is included in both Red Hat Enterprise Linux 7 and Fedora). -%description -n python2-boom -In Linux systems, there is a boot manager that support BootLoader Specification -for boot entry configuration, that is Boom. - -Boom requires a BLS-compatible boot loader to run: -systemd-boot project or Grub2 with BLS patch (Red Hat Grub2 build -(This support is included in both Red Hat Enterprise Linux 7 and Fedora). - -This package contains python2 boom module - %description -n python3-boom In Linux systems, there is a boot manager that support BootLoader Specification for boot entry configuration, that is Boom. @@ -99,11 +83,9 @@ rm doc/_build/html/.buildinfo mv doc/_build/html doc/html rm -r doc/_build -%py2_build %py3_build %install -%py2_install %py3_install # Install Grub2 integration scripts @@ -135,10 +117,6 @@ rm doc/Makefile doc/conf.py %{_bindir}/boom %doc %{_mandir}/man*/boom.* -%files -n python2-boom -%license COPYING -%{python2_sitelib}/* - %files -n python3-boom %license COPYING %{python3_sitelib}/* @@ -163,5 +141,8 @@ rm doc/Makefile doc/conf.py %doc README.md %changelog +* Sat Aug 8 2020 shixuantong - 0.9-6 +- remove python2 support + * Wed Feb 12 2020 openEuler Buildteam - 0.9-5 -- Package init +- Package init \ No newline at end of file