Drop use of unneeded %{py3dir}

This commit is contained in:
Orion Poplawski 2015-10-06 08:09:09 -06:00
parent a32b043a4a
commit b52b31857e
1 changed files with 6 additions and 10 deletions

View File

@ -5,7 +5,7 @@
Name: python-%{modname}
Version: 1.1
Release: 0.1.b5%{?dist}
Release: 0.2.b5%{?dist}
Summary: A coroutine-based Python networking library
License: MIT
@ -52,20 +52,13 @@ Requires: python3-greenlet
# Remove bundled libraries
rm -rf c-ares libev
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
%py2_build
pushd %{py3dir}
%py3_build
popd
%py3_build
%install
%py2_install
pushd %{py3dir}
%py3_install
popd
%py3_install
rm -f %{buildroot}%{python2_sitearch}/%{modname}/_*3.py
rm -f %{buildroot}%{python3_sitearch}/%{modname}/_*2.py
find %{buildroot} -name '.buildinfo' -delete
@ -83,6 +76,9 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%{python3_sitearch}/%{modname}*
%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
- Update to 1.1b5 (RHBZ #1244452)
- Add python3 support