[packages/python-coverage] - updated to 4.2

qboosh qboosh at pld-linux.org
Sat Oct 15 14:54:07 CEST 2016


commit 564086f1c4cc00952c8f07310a7d1f1d384ee2b3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 15 14:56:14 2016 +0200

    - updated to 4.2

 python-coverage.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/python-coverage.spec b/python-coverage.spec
index bd1036d..4549af4 100644
--- a/python-coverage.spec
+++ b/python-coverage.spec
@@ -7,13 +7,13 @@
 Summary:	Tool for measuring code coverage of Python programs
 Summary(pl.UTF-8):	Narzędzie do szacowania pokrycia kodu programów w Pythonie
 Name:		python-%{module}
-Version:	4.0.3
+Version:	4.2
 Release:	1
 License:	Apache v2.0
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.python.org/simple/coverage/
-Source0:	https://pypi.python.org/packages/source/c/coverage/%{module}-%{version}.tar.gz
-# Source0-md5:	c7d3db1882484022c81bf619be7b6365
+Source0:	https://files.pythonhosted.org/packages/source/c/coverage/%{module}-%{version}.tar.gz
+# Source0-md5:	1e09362a3f35d589f942359441050a6e
 URL:		http://coverage.readthedocs.org/
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
@@ -73,16 +73,16 @@ kodu, który mógłby zostać wykonany, ale nie był.
 %install
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with python3}
+%py3_install
+%endif
+
 %if %{with python2}
 %py_install
 
 %py_postclean
 %endif
 
-%if %{with python3}
-%py3_install
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -90,6 +90,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS.txt CHANGES.rst NOTICE.txt README.rst TODO.txt
+%attr(755,root,root) %{_bindir}/coverage
 %attr(755,root,root) %{_bindir}/coverage2
 %attr(755,root,root) %{_bindir}/coverage-%{py_ver}
 %dir %{py_sitedir}/%{module}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-coverage.git/commitdiff/564086f1c4cc00952c8f07310a7d1f1d384ee2b3



More information about the pld-cvs-commit mailing list