From 8cb9f6a56951d37869280bdb63ab69b7fc95e55cec13ceb43238440ca6d2862a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 4 Jun 2025 08:44:02 +0000 Subject: [PATCH] - Convert to libalternatives OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyVows?expand=0&rev=10 --- python-pyVows.changes | 1 + python-pyVows.spec | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/python-pyVows.changes b/python-pyVows.changes index a73ed1e..2609ec0 100644 --- a/python-pyVows.changes +++ b/python-pyVows.changes @@ -2,6 +2,7 @@ Wed Jun 4 08:38:33 UTC 2025 - Markéta Machová - Convert to pip-based build +- Convert to libalternatives ------------------------------------------------------------------- Wed May 20 07:26:56 UTC 2020 - Petr Gajdos diff --git a/python-pyVows.spec b/python-pyVows.spec index 32f6594..c6481ec 100644 --- a/python-pyVows.spec +++ b/python-pyVows.spec @@ -66,6 +66,10 @@ export PYTHONPATH=. export PATH=%{buildroot}%{_bindir}:$PATH %python_exec pyvows/cli.py -x tests/ +%pre +# removing old update-alternatives entries +%python_libalternatives_reset_alternative pyvows + %post %python_install_alternative pyvows