Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-convertdate for 
openSUSE:Factory checked in at 2025-06-26 11:34:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-convertdate (Old)
 and      /work/SRC/openSUSE:Factory/.python-convertdate.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-convertdate"

Thu Jun 26 11:34:33 2025 rev:10 rq:1288525 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-convertdate/python-convertdate.changes    
2025-06-10 08:57:02.822982422 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-convertdate.new.7067/python-convertdate.changes
  2025-06-26 11:34:56.534883781 +0200
@@ -1,0 +2,5 @@
+Wed Jun 25 12:06:07 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-convertdate.spec ++++++
--- /var/tmp/diff_new_pack.rPbzGR/_old  2025-06-26 11:34:57.150909336 +0200
+++ /var/tmp/diff_new_pack.rPbzGR/_new  2025-06-26 11:34:57.154909502 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-convertdate
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-convertdate
 Version:        2.4.0
@@ -27,8 +28,10 @@
 Source:         https://github.com/fitnr/convertdate/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-PyMeeus >= 0.3.6
 BuildArch:      noarch
 # SECTION test requirements
@@ -36,8 +39,6 @@
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 # /SECTION
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
 %python_subpackages
 
 %description
@@ -63,11 +64,8 @@
 export LC_ALL="en_US.UTF8"
 %pytest -n $(echo %{?_smp_mflags} | cut -c 3-)
 
-%post
-%python_install_alternative censusgeocode
-
-%postun
-%python_uninstall_alternative censusgeocode
+%pre
+%python_libalternatives_reset_alternative censusgeocode
 
 %files %{python_files}
 %doc README.md

Reply via email to