Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-copr-cli for openSUSE:Factory 
checked in at 2025-07-07 14:49:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-copr-cli (Old)
 and      /work/SRC/openSUSE:Factory/.python-copr-cli.new.1903 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-copr-cli"

Mon Jul  7 14:49:48 2025 rev:11 rq:1291004 version:2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-copr-cli/python-copr-cli.changes  
2025-04-08 17:52:43.770264197 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-copr-cli.new.1903/python-copr-cli.changes    
    2025-07-07 14:49:50.308640579 +0200
@@ -1,0 +2,5 @@
+Mon Jul  7 09:33:49 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-copr-cli.spec ++++++
--- /var/tmp/diff_new_pack.CZpKE2/_old  2025-07-07 14:49:52.000711258 +0200
+++ /var/tmp/diff_new_pack.CZpKE2/_new  2025-07-07 14:49:52.016711926 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-copr-cli
 Version:        2.1
 Release:        0
@@ -26,8 +27,10 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-Jinja2
 Requires:       python-copr >= 1.116
 Requires:       python-humanize
@@ -40,8 +43,6 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module responses}
 # /SECTION
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -63,11 +64,8 @@
 %check
 %pytest
 
-%post
-%python_install_alternative copr-cli
-
-%postun
-%python_uninstall_alternative copr-cli
+%pre
+%python_libalternatives_reset_alternative copr-cli
 
 %files %{python_files}
 %license LICENSE

Reply via email to