From 07402d58ad6b6e2ea873f47b738f40b274cdc7c6 Mon Sep 17 00:00:00 2001 From: mcalabkova <> Date: Jun 10 2025 08:00:59 +0000 Subject: Update python-interrogate to version 1.7.0 / rev 5 via SR 1284025 https://build.opensuse.org/request/show/1284025 by user mcalabkova + anag_factory - Convert to libalternatives --- diff --git a/.files b/.files index 9a0949d..5130eb8 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 5f0dce5..e861e33 100644 --- a/.rev +++ b/.rev @@ -48,4 +48,12 @@ </comment> <requestid>1280875</requestid> </revision> + <revision rev="5" vrev="3"> + <srcmd5>60e2cb5983d379e6953a7a320a1a54b6</srcmd5> + <version>1.7.0</version> + <time>1749539218</time> + <user>anag_factory</user> + <comment>- Convert to libalternatives</comment> + <requestid>1284025</requestid> + </revision> </revisionlist> diff --git a/python-interrogate.changes b/python-interrogate.changes index 577b194..c34de5f 100644 --- a/python-interrogate.changes +++ b/python-interrogate.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jun 9 08:47:37 UTC 2025 - Markéta Machová <mmachova@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- Wed May 28 12:47:45 UTC 2025 - Markéta Machová <mmachova@suse.com> - Convert to pip-based build diff --git a/python-interrogate.spec b/python-interrogate.spec index 8d24883..a20dc50 100644 --- a/python-interrogate.spec +++ b/python-interrogate.spec @@ -16,6 +16,7 @@ # +%bcond_without libalternatives Name: python-interrogate Version: 1.7.0 Release: 0 @@ -27,15 +28,15 @@ Source: https://files.pythonhosted.org/packages/source/i/interrogate/int BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-attrs Requires: python-click Requires: python-colorama Requires: python-py Requires: python-tabulate -Requires(post): alts -Requires(postun): alts BuildArch: noarch %if 0%{python_version_nodots} < 311 Requires: python-tomli @@ -67,11 +68,9 @@ rm tox.ini %python_clone -a %{buildroot}%{_bindir}/interrogate %python_expand %fdupes %{buildroot}%{$python_sitelib} -%post -%python_install_alternative interrogate - -%postun -%python_uninstall_alternative interrogate +%pre +# removing old update-alternatives entries +%python_libalternatives_reset_alternative interrogate %check %pytest