!5 remove python2 dependency
From: @xinghe_1 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
b9e450f89a
@ -1,6 +1,6 @@
|
|||||||
Name: python-alsa
|
Name: python-alsa
|
||||||
Version: 1.1.6
|
Version: 1.1.6
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Python binding for the ALSA library
|
Summary: Python binding for the ALSA library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
@ -11,14 +11,6 @@ BuildRequires: alsa-lib-devel >= %{version} gcc
|
|||||||
%description
|
%description
|
||||||
Python bindings for the ALSA library.
|
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
|
%package -n python3-alsa
|
||||||
Summary: Python3 binding for the ALSA library
|
Summary: Python3 binding for the ALSA library
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -32,19 +24,17 @@ Python3 bindings for the ALSA library.
|
|||||||
%autosetup -n pyalsa-%{version}
|
%autosetup -n pyalsa-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-alsa
|
|
||||||
%{python2_sitearch}/*
|
|
||||||
|
|
||||||
%files -n python3-alsa
|
%files -n python3-alsa
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 27 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user