diff --git a/python-coverage.changes b/python-coverage.changes index d6e04d1..47c86bf 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 17 13:30:37 UTC 2018 - tchvatal@suse.com + +- Bumpy the URL to point to github rather than to docs + ------------------------------------------------------------------- Sun Feb 18 17:12:53 UTC 2018 - arun@gmx.de diff --git a/python-coverage.spec b/python-coverage.spec index 7e7a24c..a8dc2ba 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -20,12 +20,11 @@ Name: python-coverage Version: 4.5.1 Release: 0 -Url: http://nedbatchelder.com/code/coverage/%{version} Summary: Code coverage measurement for Python License: Apache-2.0 Group: Development/Languages/Python +URL: https://github.com/nedbat/coveragepy Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -34,10 +33,9 @@ BuildRequires: python-rpm-macros #BuildRequires: python-nose Requires: python-setuptools Requires: python-xml +Requires(post): update-alternatives +Requires(postun): update-alternatives Requires(pre): coreutils -Requires(post): /usr/sbin/update-alternatives -Requires(postun): /usr/sbin/update-alternatives - %python_subpackages %description @@ -65,7 +63,7 @@ ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3 #%%check # Taken straight from tox.ini: #python setup.py develop -#python igor.py zip_mods install_egg remove_extension +#python igor.py zip_mods install_egg remove_extension #python igor.py test_with_tracer py #python setup.py --quiet build_ext --inplace #python igor.py test_with_tracer c @@ -76,9 +74,9 @@ ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3 %postun %python_uninstall_alternative coverage -%files %python_files -%defattr(-,root,root,-) -%doc CHANGES.rst CONTRIBUTORS.txt README.rst LICENSE.txt TODO.txt howto.txt +%files %{python_files} +%license LICENSE.txt +%doc CHANGES.rst CONTRIBUTORS.txt README.rst TODO.txt howto.txt %python_alternative %{_bindir}/coverage %python2_only %{_bindir}/coverage2 %python3_only %{_bindir}/coverage3