Accepting request 623455 from devel:languages:python

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

OBS-URL: https://build.opensuse.org/request/show/623455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2018-07-21 08:08:28 +00:00 committed by Git OBS Bridge
commit c565e83e12
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 Sun Feb 18 17:12:53 UTC 2018 - arun@gmx.de

View File

@ -20,12 +20,11 @@
Name: python-coverage Name: python-coverage
Version: 4.5.1 Version: 4.5.1
Release: 0 Release: 0
Url: http://nedbatchelder.com/code/coverage/%{version}
Summary: Code coverage measurement for Python Summary: Code coverage measurement for Python
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/nedbat/coveragepy
Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz 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 devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -34,10 +33,9 @@ BuildRequires: python-rpm-macros
#BuildRequires: python-nose #BuildRequires: python-nose
Requires: python-setuptools Requires: python-setuptools
Requires: python-xml Requires: python-xml
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(pre): coreutils Requires(pre): coreutils
Requires(post): /usr/sbin/update-alternatives
Requires(postun): /usr/sbin/update-alternatives
%python_subpackages %python_subpackages
%description %description
@ -65,7 +63,7 @@ ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
#%%check #%%check
# Taken straight from tox.ini: # Taken straight from tox.ini:
#python setup.py develop #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 igor.py test_with_tracer py
#python setup.py --quiet build_ext --inplace #python setup.py --quiet build_ext --inplace
#python igor.py test_with_tracer c #python igor.py test_with_tracer c
@ -76,9 +74,9 @@ ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
%postun %postun
%python_uninstall_alternative coverage %python_uninstall_alternative coverage
%files %python_files %files %{python_files}
%defattr(-,root,root,-) %license LICENSE.txt
%doc CHANGES.rst CONTRIBUTORS.txt README.rst LICENSE.txt TODO.txt howto.txt %doc CHANGES.rst CONTRIBUTORS.txt README.rst TODO.txt howto.txt
%python_alternative %{_bindir}/coverage %python_alternative %{_bindir}/coverage
%python2_only %{_bindir}/coverage2 %python2_only %{_bindir}/coverage2
%python3_only %{_bindir}/coverage3 %python3_only %{_bindir}/coverage3