Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-ptpython"

Tue Apr 28 11:55:30 2026 rev:18 rq:1349421 version:3.0.32

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ptpython/python-ptpython.changes  
2026-04-10 23:45:00.535560644 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ptpython.new.11940/python-ptpython.changes   
    2026-04-28 11:59:30.385313951 +0200
@@ -1,0 +2,5 @@
+Sun Apr 26 19:16:07 UTC 2026 - Dirk Müller <[email protected]>
+
+- reset alternative for TW
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-ptpython.spec ++++++
--- /var/tmp/diff_new_pack.bDSu4b/_old  2026-04-28 11:59:30.857333431 +0200
+++ /var/tmp/diff_new_pack.bDSu4b/_new  2026-04-28 11:59:30.857333431 +0200
@@ -16,6 +16,14 @@
 #
 
 
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
+
 %{?sle15_python_module_pythons}
 Name:           python-ptpython
 Version:        3.0.32
@@ -43,6 +51,13 @@
 BuildRequires:  %{python_module prompt_toolkit >= 3.0.43}
 # /SECTION
 Recommends:     python-ptpython-ptipython
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 %python_subpackages
 
 %description
@@ -72,6 +87,9 @@
 %python_clone -a %{buildroot}%{_bindir}/ptpython
 %python_clone -a %{buildroot}%{_bindir}/ptipython
 
+%pre
+%python_reset_alternative ptpython
+
 %post
 %python_install_alternative ptpython
 

Reply via email to