[packages/python-pytest-timeout] cleanup template leftovers

glen glen at pld-linux.org
Wed May 25 23:35:06 CEST 2016


commit 16a57b480457a4b1e64787e66ffb6b43b28971ad
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 26 00:34:54 2016 +0300

    cleanup template leftovers

 python-pytest-timeout.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-pytest-timeout.spec b/python-pytest-timeout.spec
index 642b944..983f6f5 100644
--- a/python-pytest-timeout.spec
+++ b/python-pytest-timeout.spec
@@ -1,14 +1,12 @@
+#
 # 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
 
-# NOTE: 'module' should match the python import path, not the egg name
 %define 	module	pytest-timeout
 Summary:	Pytest plugin which will terminate tests after a certain timeout
 Summary(pl.UTF-8):	Wtyczka Pytest wymuszająca zakończenie testów po przekroczeniu limitu czasu
-# Name must match the python module/package name (as on pypi or in 'import' statement)
 Name:		python-%{module}
 Version:	1.0.0
 Release:	1
@@ -103,11 +101,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%{py_sitescriptdir}/pytest_timeout.py*
-%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/pytest_timeout.py[co]
 %{py_sitescriptdir}/pytest_timeout-%{version}-py*.egg-info
 %endif
-%endif
 
 %if %{with python3}
 %files -n python3-%{module}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-timeout.git/commitdiff/16a57b480457a4b1e64787e66ffb6b43b28971ad



More information about the pld-cvs-commit mailing list