1
0
forked from pool/python-mutmut

Accepting request 808652 from home:pgajdos:python

submit

OBS-URL: https://build.opensuse.org/request/show/808652
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mutmut?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2020-05-25 09:21:10 +00:00 committed by Git OBS Bridge
parent e155afa4c7
commit 94a7318edc
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 25 06:50:55 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 30 14:06:25 UTC 2020 - pgajdos@suse.com Mon Mar 30 14:06:25 UTC 2020 - pgajdos@suse.com

View File

@ -38,6 +38,8 @@ Requires: python-parso
Requires: python-pony Requires: python-pony
Requires: python-setuptools Requires: python-setuptools
Requires: python-tri.declarative >= 3.0.0 Requires: python-tri.declarative >= 3.0.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-coverage Recommends: python-coverage
Recommends: python-pytest Recommends: python-pytest
Suggests: python-pytest-cov Suggests: python-pytest-cov
@ -76,15 +78,22 @@ sed -i '1{/^#!/d}' mutmut/__main__.py
%install %install
%python_install %python_install
%python_clone -a %{buildroot}%{_bindir}/mutmut
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest %pytest
%post
%python_install_alternative mutmut
%postun
%python_uninstall_alternative mutmut
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%python3_only %{_bindir}/mutmut %python_alternative %{_bindir}/mutmut
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog