Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-vobject"

Thu Jun 26 14:05:35 2025 rev:11 rq:1288540 version:0.9.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vobject/python-vobject.changes    
2025-06-24 20:45:29.535208705 +0200
+++ /work/SRC/openSUSE:Factory/.python-vobject.new.7067/python-vobject.changes  
2025-06-26 14:06:07.779893247 +0200
@@ -1,0 +2,5 @@
+Wed Jun 25 12:51:21 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-vobject.spec ++++++
--- /var/tmp/diff_new_pack.piEDHb/_old  2025-06-26 14:06:08.595927073 +0200
+++ /var/tmp/diff_new_pack.piEDHb/_new  2025-06-26 14:06:08.599927239 +0200
@@ -17,6 +17,7 @@
 
 
 %global modname vobject
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-vobject
 Version:        0.9.9
@@ -36,12 +37,12 @@
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-python-dateutil >= 2.7.0
 Requires:       python-pytz
-Requires(post): update-alternatives
-Requires(preun): update-alternatives
 Recommends:     python-PyICU
 Provides:       %{modname} = %{version}
 Obsoletes:      %{modname} < 0.9.2
@@ -59,7 +60,7 @@
 # Fix wrong-file-end-of-line-encoding
 sed -i 's/\r$//' ACKNOWLEDGEMENTS.txt
 
-cp %{S:1} test_files/.
+cp %{SOURCE1} test_files/.
 
 %build
 %pyproject_wheel
@@ -74,13 +75,9 @@
 %check
 %pyunittest -v tests.py
 
-%post
-%python_install_alternative change_tz
-%python_install_alternative ics_diff
-
-%postun
-%python_uninstall_alternative change_tz
-%python_uninstall_alternative ics_diff
+%pre
+%python_libalternatives_reset_alternative change_tz
+%python_libalternatives_reset_alternative ics_diff
 
 %files %{python_files}
 %license LICENSE-2.0.txt

Reply via email to