[packages/python-coverage] - rel 5; use py ver macros

arekm arekm at pld-linux.org
Tue Sep 15 13:57:32 CEST 2015


commit 54d0d8d258b6a8d8ac2d30c1e634e6b0cf433be9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Sep 15 13:57:28 2015 +0200

    - rel 5; use py ver macros

 python-coverage.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-coverage.spec b/python-coverage.spec
index 14377c7..64b6cdd 100644
--- a/python-coverage.spec
+++ b/python-coverage.spec
@@ -2,7 +2,7 @@
 Summary:	Tool for measuring code coverage of Python programs
 Name:		python-%{module}
 Version:	3.7.1
-Release:	4
+Release:	5
 License:	BSD
 Group:		Development/Languages/Python
 Source0:	http://pypi.python.org/packages/source/c/coverage/%{module}-%{version}.tar.gz
@@ -66,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGES.txt README.txt
-%attr(755,root,root) %{_bindir}/coverage-2.7
+%attr(755,root,root) %{_bindir}/coverage-%{py_ver}
 %dir %{py_sitedir}/%{module}
 %{py_sitedir}/%{module}/*.py[co]
 %attr(755,root,root) %{py_sitedir}/%{module}/*.so
@@ -78,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python3-%{module}
 %defattr(644,root,root,755)
 %doc CHANGES.txt README.txt
-%attr(755,root,root) %{_bindir}/coverage-3.4
+%attr(755,root,root) %{_bindir}/coverage-%{py3_ver}
 %dir %{py3_sitedir}/%{module}
 %attr(755,root,root) %{py3_sitedir}/%{module}/*.so
 %{py3_sitedir}/%{module}/*.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-coverage.git/commitdiff/54d0d8d258b6a8d8ac2d30c1e634e6b0cf433be9



More information about the pld-cvs-commit mailing list