forked from pool/python-sortinghat
Accepting request 976374 from devel:languages:python
- Fix a bug in %%postun. OBS-URL: https://build.opensuse.org/request/show/976374 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sortinghat?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 11 11:28:06 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Fix a bug in %%postun.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 20 11:16:30 UTC 2022 - pgajdos@suse.com
|
Wed Apr 20 11:16:30 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%define binaries stackalytics2sh mozilla2sh mailmap2sh grimoirelab2sh gitdm2sh eclipse2sh sortinghat sh2mg mg2sh
|
%define binaries stackalytics2sh mozilla2sh mailmap2sh grimoirelab2sh gitdm2sh eclipse2sh sortinghat sh2mg mg2sh
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define skip_python36 1
|
%define skip_python36 1
|
||||||
@@ -139,7 +138,7 @@ done
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
for b in %{binaries}; do
|
for b in %{binaries}; do
|
||||||
%python_uninstall_alternative stackalytics2sh
|
%python_uninstall_alternative $b
|
||||||
done
|
done
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user