[packages/python-pluggy] cleanup template leftovers

glen glen at pld-linux.org
Wed May 25 22:45:48 CEST 2016


commit 5f61b62edccb4b01fe00ca070450195aae34702d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed May 25 23:45:38 2016 +0300

    cleanup template leftovers

 python-pluggy.spec | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/python-pluggy.spec b/python-pluggy.spec
index 55b41ad..9e558c4 100644
--- a/python-pluggy.spec
+++ b/python-pluggy.spec
@@ -1,6 +1,5 @@
-
+#
 # 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_without	python3 # CPython 3.x module
@@ -15,7 +14,7 @@ License:	MIT
 Group:		Libraries/Python
 Source0:	https://pypi.python.org/packages/1b/a9/6f5f80b75a8d84d21a8a13486fe26a2da9f043f93b464b2e3928be256dc4/pluggy-%{version}.tar.gz
 # Source0-md5:	ecdd791e309f60668b66fec97c2ee7db
-URL:		https://pypi.python.org/pypi/%{module}
+URL:		https://pypi.python.org/pypi/pluggy
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with python2}
@@ -81,10 +80,8 @@ rm -rf _build/html/_sources
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %if %{with python2}
 %py_install
-
 %py_postclean
 %endif
 
@@ -99,11 +96,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG README.rst
-%{py_sitescriptdir}/%{module}.py*
-%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}.py[co]
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
-%endif
 
 %if %{with python3}
 %files -n python3-%{module}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pluggy.git/commitdiff/5f61b62edccb4b01fe00ca070450195aae34702d



More information about the pld-cvs-commit mailing list