From 536d691a032669daeb0e1c79db85eb234f7ca80f Mon Sep 17 00:00:00 2001
From: nkrapp <>
Date: Jun 04 2025 19:16:19 +0000
Subject: Update python-coveralls-check to version 1.2.1 / rev 10 via SR 1282809


https://build.opensuse.org/request/show/1282809
by user nkrapp + dimstar_suse

---

diff --git a/packages/p/python-coveralls-check/.files b/packages/p/python-coveralls-check/.files
index e920fc5..d467564 100644
Binary files a/packages/p/python-coveralls-check/.files and b/packages/p/python-coveralls-check/.files differ
diff --git a/packages/p/python-coveralls-check/.rev b/packages/p/python-coveralls-check/.rev
index 66bca05..525a399 100644
--- a/packages/p/python-coveralls-check/.rev
+++ b/packages/p/python-coveralls-check/.rev
@@ -71,4 +71,12 @@
     <comment></comment>
     <requestid>1278078</requestid>
   </revision>
+  <revision rev="10" vrev="6">
+    <srcmd5>64bbb798edb55acda7213465827964cc</srcmd5>
+    <version>1.2.1</version>
+    <time>1749061807</time>
+    <user>dimstar_suse</user>
+    <comment></comment>
+    <requestid>1282809</requestid>
+  </revision>
 </revisionlist>
diff --git a/packages/p/python-coveralls-check/python-coveralls-check.changes b/packages/p/python-coveralls-check/python-coveralls-check.changes
index 9c0bf7e..3a3613c 100644
--- a/packages/p/python-coveralls-check/python-coveralls-check.changes
+++ b/packages/p/python-coveralls-check/python-coveralls-check.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Wed Jun  4 14:37:43 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
+
+- Fix usage of libalternatives 
+
+-------------------------------------------------------------------
 Fri May 16 12:21:30 UTC 2025 - Markéta Machová <mmachova@suse.com>
 
 - Convert to pip-based build
diff --git a/packages/p/python-coveralls-check/python-coveralls-check.spec b/packages/p/python-coveralls-check/python-coveralls-check.spec
index 92f9efc..47a1650 100644
--- a/packages/p/python-coveralls-check/python-coveralls-check.spec
+++ b/packages/p/python-coveralls-check/python-coveralls-check.spec
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-coveralls-check
 Version:        1.2.1
@@ -30,13 +31,13 @@ Patch0:         python-coveralls-check-no-mock.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-backoff
 Requires:       python-requests
 Requires:       python-setuptools
-Requires(post): alts
-Requires(postun): alts
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module backoff}
@@ -65,11 +66,9 @@ A helper to check https://coveralls.io for a given commit hash.
 %check
 %pytest tests.py
 
-%post
-%python_install_alternative coveralls-check
-
-%postun
-%python_uninstall_alternative coveralls-check
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative coveralls-check
 
 %files %{python_files}
 %doc README.rst