Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PTable for openSUSE:Factory 
checked in at 2026-04-28 11:55:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PTable (Old)
 and      /work/SRC/openSUSE:Factory/.python-PTable.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PTable"

Tue Apr 28 11:55:31 2026 rev:4 rq:1349422 version:0.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PTable/python-PTable.changes      
2025-05-06 16:44:21.543659189 +0200
+++ /work/SRC/openSUSE:Factory/.python-PTable.new.11940/python-PTable.changes   
2026-04-28 11:59:31.613365047 +0200
@@ -1,0 +2,5 @@
+Sun Apr 26 19:16:59 UTC 2026 - Dirk Müller <[email protected]>
+
+- reset alternative for TW
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-PTable.spec ++++++
--- /var/tmp/diff_new_pack.XjvQej/_old  2026-04-28 11:59:32.105385715 +0200
+++ /var/tmp/diff_new_pack.XjvQej/_new  2026-04-28 11:59:32.109385883 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PTable
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 Name:           python-PTable
 Version:        0.9.2
 Release:        0
@@ -30,6 +36,13 @@
 BuildRequires:  python-rpm-macros
 Conflicts:      python-PrettyTable
 BuildArch:      noarch
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 %python_subpackages
 
 %description
@@ -50,6 +63,9 @@
 %check
 # No tests available in package, github has no tags
 
+%pre
+%python_reset_alternative ptable
+
 %post
 %python_install_alternative ptable
 

Reply via email to