Accepting request 542485 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/542485 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=32
This commit is contained in:
commit
1e8421f892
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 19:10:43 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- test presence of python2 (not just if it is skipped; two different
|
||||
things now, unfortunately)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 6 16:55:45 UTC 2017 - arun@gmx.de
|
||||
|
||||
|
@ -54,10 +54,10 @@ library to determine which lines are executable, and which have been executed.
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/coverage
|
||||
%if ! 0%{?skip_python2}
|
||||
%if 0%{?have_python2} && ! 0%{?skip_python2}
|
||||
ln -sf coverage-%{python2_version} %{buildroot}%{_bindir}/coverage2
|
||||
%endif
|
||||
%if ! 0%{?skip_python3}
|
||||
%if 0%{?have_python3} && ! 0%{?skip_python3}
|
||||
ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
|
||||
%endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user