remove python2-IPy subpackage

This commit is contained in:
jinzhimin369 2020-10-30 10:18:42 +08:00
parent 1cdb60edb7
commit e81216e101

View File

@ -1,6 +1,6 @@
Name: python-alsa
Version: 1.1.6
Release: 1
Release: 2
Summary: Python binding for the ALSA library
License: LGPLv2+
URL: http://www.alsa-project.org/
@ -11,14 +11,6 @@ BuildRequires: alsa-lib-devel >= %{version} gcc
%description
Python bindings for the ALSA library.
%package -n python2-alsa
Summary: Python2 binding for the ALSA library
BuildRequires: python2-devel
Requires: python2
%description -n python2-alsa
Python2 bindings for the ALSA library.
%package -n python3-alsa
Summary: Python3 binding for the ALSA library
BuildRequires: python3-devel
@ -32,19 +24,17 @@ Python3 bindings for the ALSA library.
%autosetup -n pyalsa-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-alsa
%{python2_sitearch}/*
%files -n python3-alsa
%{python3_sitearch}/*
%changelog
* Fri Oct 30 2020 xinghe <xinghe1@huawei.com> - 1.1.6-2
- remove python2 dependency
* Thu Feb 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-1
- Package init