Drop use of unneeded %{py3dir}
This commit is contained in:
parent
a32b043a4a
commit
b52b31857e
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 0.1.b5%{?dist}
|
Release: 0.2.b5%{?dist}
|
||||||
Summary: A coroutine-based Python networking library
|
Summary: A coroutine-based Python networking library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -52,20 +52,13 @@ Requires: python3-greenlet
|
|||||||
# Remove bundled libraries
|
# Remove bundled libraries
|
||||||
rm -rf c-ares libev
|
rm -rf c-ares libev
|
||||||
|
|
||||||
rm -rf %{py3dir}
|
|
||||||
cp -a . %{py3dir}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
%py2_build
|
||||||
pushd %{py3dir}
|
%py3_build
|
||||||
%py3_build
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
%py2_install
|
||||||
pushd %{py3dir}
|
%py3_install
|
||||||
%py3_install
|
|
||||||
popd
|
|
||||||
rm -f %{buildroot}%{python2_sitearch}/%{modname}/_*3.py
|
rm -f %{buildroot}%{python2_sitearch}/%{modname}/_*3.py
|
||||||
rm -f %{buildroot}%{python3_sitearch}/%{modname}/_*2.py
|
rm -f %{buildroot}%{python3_sitearch}/%{modname}/_*2.py
|
||||||
find %{buildroot} -name '.buildinfo' -delete
|
find %{buildroot} -name '.buildinfo' -delete
|
||||||
@ -83,6 +76,9 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
|||||||
%{python3_sitearch}/%{modname}*
|
%{python3_sitearch}/%{modname}*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 06 2015 Orion Poplawski <orion@cora.nwra.com> - 1.1-0.2.b5
|
||||||
|
- Drop use of unneeded %%{py3dir}
|
||||||
|
|
||||||
* Mon Oct 05 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1-0.1.b5
|
* Mon Oct 05 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1-0.1.b5
|
||||||
- Update to 1.1b5 (RHBZ #1244452)
|
- Update to 1.1b5 (RHBZ #1244452)
|
||||||
- Add python3 support
|
- Add python3 support
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user