Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-alembic for openSUSE:Factory 
checked in at 2025-06-18 15:53:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-alembic (Old)
 and      /work/SRC/openSUSE:Factory/.python-alembic.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-alembic"

Wed Jun 18 15:53:45 2025 rev:86 rq:1286097 version:1.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-alembic/python-alembic.changes    
2025-04-07 17:35:13.709338578 +0200
+++ /work/SRC/openSUSE:Factory/.python-alembic.new.19631/python-alembic.changes 
2025-06-18 15:53:58.374805506 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 12:19:22 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-alembic.spec ++++++
--- /var/tmp/diff_new_pack.AGQmUN/_old  2025-06-18 15:53:58.882826690 +0200
+++ /var/tmp/diff_new_pack.AGQmUN/_new  2025-06-18 15:53:58.882826690 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-alembic
 Version:        1.15.2
@@ -36,13 +37,13 @@
 BuildRequires:  %{python_module typing-extensions >= 4}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  %{pythons}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-Mako
 Requires:       python-SQLAlchemy >= 2.0.0
 Requires:       python-typing-extensions >= 4
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildArch:      noarch
 %if 0%{?python_version_nodots} < 39
 Requires:       python-importlib-metadata
@@ -77,11 +78,8 @@
 %check
 %pytest -n auto
 
-%post
-%python_install_alternative alembic
-
-%postun
-%python_uninstall_alternative alembic
+%pre
+%python_libalternatives_reset_alternative alembic
 
 %files %{python_files}
 %license LICENSE

Reply via email to