From b52b31857ee94ec111bbfff6d54f062c9924ec03 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 6 Oct 2015 08:09:09 -0600 Subject: [PATCH] Drop use of unneeded %{py3dir} --- python-gevent.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/python-gevent.spec b/python-gevent.spec index c74bd0b..334e7a6 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -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 - 1.1-0.2.b5 +- Drop use of unneeded %%{py3dir} + * Mon Oct 05 2015 Igor Gnatenko - 1.1-0.1.b5 - Update to 1.1b5 (RHBZ #1244452) - Add python3 support