- Bumpy the URL to point to github rather than to docs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=71
This commit is contained in:
Tomáš Chvátal 2018-07-17 13:32:07 +00:00 committed by Git OBS Bridge
parent 65f78aaef9
commit 44ebd556c0
2 changed files with 12 additions and 9 deletions

View File

@ -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

View File

@ -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