remove python2 support
This commit is contained in:
parent
6eaa7037cb
commit
e9062b2867
@ -1,6 +1,6 @@
|
|||||||
Name: boom-boot
|
Name: boom-boot
|
||||||
Version: 0.9
|
Version: 0.9
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: libraries and files for helping boot loger entries
|
Summary: libraries and files for helping boot loger entries
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/bmr-cymru/boom
|
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
|
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
|
Patch9000: fix-compile-error-about-sphinx-build.patch
|
||||||
|
|
||||||
Requires: python3-boom %{name}-conf
|
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
|
%package -n python3-boom
|
||||||
Summary: libraries and files for helping boot loger entries
|
Summary: libraries and files for helping boot loger entries
|
||||||
%{?python_provide:%python_provide python3-boom}
|
%{?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
|
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 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
|
%description -n python3-boom
|
||||||
In Linux systems, there is a boot manager that support BootLoader Specification
|
In Linux systems, there is a boot manager that support BootLoader Specification
|
||||||
for boot entry configuration, that is Boom.
|
for boot entry configuration, that is Boom.
|
||||||
@ -99,11 +83,9 @@ rm doc/_build/html/.buildinfo
|
|||||||
mv doc/_build/html doc/html
|
mv doc/_build/html doc/html
|
||||||
rm -r doc/_build
|
rm -r doc/_build
|
||||||
|
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
# Install Grub2 integration scripts
|
# Install Grub2 integration scripts
|
||||||
@ -135,10 +117,6 @@ rm doc/Makefile doc/conf.py
|
|||||||
%{_bindir}/boom
|
%{_bindir}/boom
|
||||||
%doc %{_mandir}/man*/boom.*
|
%doc %{_mandir}/man*/boom.*
|
||||||
|
|
||||||
%files -n python2-boom
|
|
||||||
%license COPYING
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-boom
|
%files -n python3-boom
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
@ -163,5 +141,8 @@ rm doc/Makefile doc/conf.py
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 8 2020 shixuantong <shixuantong@huawei.com> - 0.9-6
|
||||||
|
- remove python2 support
|
||||||
|
|
||||||
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.9-5
|
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.9-5
|
||||||
- Package init
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user