[packages/python-geventhttpclient] drop unneeded py3 copy

glen glen at pld-linux.org
Tue Nov 3 15:56:30 CET 2015


commit 64aabb6e2c3868841600e80b61255251211090b2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 3 16:56:25 2015 +0200

    drop unneeded py3 copy

 python-geventhttpclient.spec | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/python-geventhttpclient.spec b/python-geventhttpclient.spec
index e65af08..18b6b7f 100644
--- a/python-geventhttpclient.spec
+++ b/python-geventhttpclient.spec
@@ -72,11 +72,6 @@ Safe SSL support is provided by default.
 %prep
 %setup -q -n %{module}-%{version}
 
-# setup copy of source in py3 dir
-set -- *
-install -d py3
-cp -a "$@" py3
-
 %build
 %if %{with python2}
 CC="%{__cc}" \
@@ -120,10 +115,8 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitedir}/geventhttpclient
 %{py_sitedir}/geventhttpclient/*.py[co]
 %attr(755,root,root) %{py_sitedir}/geventhttpclient/*.so
-%if "%{py_ver}" > "2.4"
 %{py_sitedir}/%{module}-%{version}-py*.egg-info
 %endif
-%endif
 
 %if %{with python3}
 %files -n python3-%{module}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-geventhttpclient.git/commitdiff/64aabb6e2c3868841600e80b61255251211090b2



More information about the pld-cvs-commit mailing list