Accepting request 516178 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/516178 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=29
This commit is contained in:
commit
1aa2f78000
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 11 15:25:50 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Handle cases where python2 is disabled
|
||||||
|
(needed for SLE backports compatibility)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com
|
Wed Mar 29 13:53:04 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@ -54,8 +54,12 @@ library to determine which lines are executable, and which have been executed.
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/coverage
|
%python_clone -a %{buildroot}%{_bindir}/coverage
|
||||||
|
%if ! 0%{?skip_python2}
|
||||||
ln -sf coverage-%{python2_version} %{buildroot}%{_bindir}/coverage2
|
ln -sf coverage-%{python2_version} %{buildroot}%{_bindir}/coverage2
|
||||||
|
%endif
|
||||||
|
%if ! 0%{?skip_python3}
|
||||||
ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
|
ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
|
||||||
|
%endif
|
||||||
|
|
||||||
#NOTE(saschpe): The following seems to mess with the install dir, which is odd:
|
#NOTE(saschpe): The following seems to mess with the install dir, which is odd:
|
||||||
#%%check
|
#%%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user