[packages/python-grequests] - enable python3

arekm arekm at pld-linux.org
Fri Aug 14 17:04:25 CEST 2015


commit b460e58342ad6abbe7bf68a3b2c039f8595af110
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Aug 14 17:04:20 2015 +0200

    - enable python3

 python-grequests.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/python-grequests.spec b/python-grequests.spec
index e68211f..8ad49c1 100644
--- a/python-grequests.spec
+++ b/python-grequests.spec
@@ -1,9 +1,9 @@
 #
 # Conditional build:
-%bcond_without  doc             # don't build doc
-%bcond_without  tests   # do not perform "make test"
-%bcond_without  python2 # CPython 2.x module
-%bcond_with  python3 # CPython 3.x module
+%bcond_without	doc             # don't build doc
+%bcond_without	tests   # do not perform "make test"
+%bcond_without	python2 # CPython 2.x module
+%bcond_without	python3 # CPython 3.x module
 
 %define 	module	grequests
 Summary:	gevent support for python-requests
@@ -94,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python3-%{module}
 %defattr(644,root,root,755)
 %doc README.rst
-#%{py3_sitescriptdir}/%{module}
-#%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
+%{py3_sitescriptdir}/%{module}.py
+%{py3_sitescriptdir}/__pycache__/%{module}*.py*
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-grequests.git/commitdiff/b460e58342ad6abbe7bf68a3b2c039f8595af110



More information about the pld-cvs-commit mailing list