Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-gpxpy for openSUSE:Factory 
checked in at 2025-06-10 09:07:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gpxpy (Old)
 and      /work/SRC/openSUSE:Factory/.python-gpxpy.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gpxpy"

Tue Jun 10 09:07:47 2025 rev:9 rq:1284177 version:1.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gpxpy/python-gpxpy.changes        
2025-05-27 18:44:30.530405223 +0200
+++ /work/SRC/openSUSE:Factory/.python-gpxpy.new.19631/python-gpxpy.changes     
2025-06-10 09:10:11.351598203 +0200
@@ -1,0 +2,5 @@
+Mon Jun  9 12:34:21 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-gpxpy.spec ++++++
--- /var/tmp/diff_new_pack.ODgM1o/_old  2025-06-10 09:10:11.903621030 +0200
+++ /var/tmp/diff_new_pack.ODgM1o/_new  2025-06-10 09:10:11.907621196 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-gpxpy
 Version:        1.6.2
 Release:        0
@@ -27,10 +28,10 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires(post): alts
-Requires(postun): alts
+Requires:       alts
 BuildArch:      noarch
 %python_subpackages
 
@@ -52,11 +53,8 @@
 %check
 %pyunittest discover -v
 
-%post
-%python_install_alternative gpxinfo
-
-%postun
-%python_uninstall_alternative gpxinfo
+%pre
+%python_libalternatives_reset_alternative gpxinfo
 
 %files %{python_files}
 %license LICENSE.txt

Reply via email to