!3 remove python2 support

Merge pull request !3 from 桐小哥/master
This commit is contained in:
openeuler-ci-bot 2020-08-08 15:51:00 +08:00 committed by Gitee
commit 8cd0b2779b

View File

@ -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 <shixuantong@huawei.com> - 0.9-6
- remove python2 support
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.9-5
- Package init
- Package init