Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pprintpp for openSUSE:Factory
checked in at 2025-06-10 09:08:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pprintpp (Old)
and /work/SRC/openSUSE:Factory/.python-pprintpp.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pprintpp"
Tue Jun 10 09:08:27 2025 rev:8 rq:1284237 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pprintpp/python-pprintpp.changes
2025-06-03 17:57:17.866956179 +0200
+++
/work/SRC/openSUSE:Factory/.python-pprintpp.new.19631/python-pprintpp.changes
2025-06-10 09:10:45.625015468 +0200
@@ -1,0 +2,5 @@
+Mon Jun 9 15:07:59 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pprintpp.spec ++++++
--- /var/tmp/diff_new_pack.ejMlw3/_old 2025-06-10 09:10:47.029073528 +0200
+++ /var/tmp/diff_new_pack.ejMlw3/_new 2025-06-10 09:10:47.029073528 +0200
@@ -16,6 +16,7 @@
#
+%bcond_without libalternatives
Name: python-pprintpp
Version: 0.4.0
Release: 0
@@ -35,10 +36,10 @@
BuildRequires: %{python_module pytest}
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
@@ -62,11 +63,8 @@
export LANG=en_US.utf-8
%pytest -v test.py
-%post
-%python_install_alternative pypprint
-
-%postun
-%python_uninstall_alternative pypprint
+%pre
+%python_libalternatives_reset_alternative pypprint
%files %{python_files}
%doc CHANGELOG.txt README.rst