From ed61aae46763c324b517426aa2e2e5056459cc8c124f35d9069639771c0ae6f4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 11 May 2022 11:28:13 +0000 Subject: [PATCH 1/2] - Fix a bug in %%postun. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sortinghat?expand=0&rev=25 --- python-sortinghat.changes | 5 +++++ python-sortinghat.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-sortinghat.changes b/python-sortinghat.changes index d71e50e..e03c85d 100644 --- a/python-sortinghat.changes +++ b/python-sortinghat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 11 11:28:06 UTC 2022 - Matej Cepl + +- Fix a bug in %%postun. + ------------------------------------------------------------------- Wed Apr 20 11:16:30 UTC 2022 - pgajdos@suse.com diff --git a/python-sortinghat.spec b/python-sortinghat.spec index 428a794..23dfe0c 100644 --- a/python-sortinghat.spec +++ b/python-sortinghat.spec @@ -139,7 +139,7 @@ done %postun for b in %{binaries}; do - %python_uninstall_alternative stackalytics2sh + %python_uninstall_alternative $b done %files %{python_files} From 5709669aeae647924fc2123f4cff6a3bf651c4f3b74f09181af1e7de96f9caf3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 11 May 2022 11:28:35 +0000 Subject: [PATCH 2/2] Fix SPEC OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sortinghat?expand=0&rev=26 --- python-sortinghat.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-sortinghat.spec b/python-sortinghat.spec index 23dfe0c..d0d991a 100644 --- a/python-sortinghat.spec +++ b/python-sortinghat.spec @@ -17,7 +17,6 @@ %define binaries stackalytics2sh mozilla2sh mailmap2sh grimoirelab2sh gitdm2sh eclipse2sh sortinghat sh2mg mg2sh - %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %define skip_python36 1