Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-smartypants for 
openSUSE:Factory checked in at 2025-08-26 14:56:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-smartypants (Old)
 and      /work/SRC/openSUSE:Factory/.python-smartypants.new.30751 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-smartypants"

Tue Aug 26 14:56:13 2025 rev:11 rq:1301265 version:2.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-smartypants/python-smartypants.changes    
2025-06-18 22:28:37.527375436 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-smartypants.new.30751/python-smartypants.changes
 2025-08-26 14:56:39.265531661 +0200
@@ -1,0 +2,5 @@
+Mon Aug 25 12:30:18 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives on SLE-16-based and newer systems only
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-smartypants.spec ++++++
--- /var/tmp/diff_new_pack.3LRkFw/_old  2025-08-26 14:56:40.005562509 +0200
+++ /var/tmp/diff_new_pack.3LRkFw/_new  2025-08-26 14:56:40.009562676 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-smartypants
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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,7 +16,11 @@
 #
 
 
+%if 0%{?suse_version} > 1500
 %bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
 %{?sle15_python_module_pythons}
 Name:           python-smartypants
 Version:        2.0.2
@@ -32,11 +36,16 @@
 BuildRequires:  %{python_module pygments}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       alts
 BuildArch:      noarch
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 %python_subpackages
 
 %description
@@ -57,6 +66,12 @@
 }
 %python_clone -a %{buildroot}%{_bindir}/smartypants
 
+%post
+%python_install_alternative smartypants
+
+%postun
+%python_uninstall_alternative smartypants
+
 %pre
 %python_libalternatives_reset_alternative smartypants
 

Reply via email to