Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-parallax for openSUSE:Factory
checked in at 2026-04-28 11:55:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
and /work/SRC/openSUSE:Factory/.python-parallax.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parallax"
Tue Apr 28 11:55:45 2026 rev:24 rq:1349428 version:1.0.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes
2025-06-02 22:02:16.797499657 +0200
+++
/work/SRC/openSUSE:Factory/.python-parallax.new.11940/python-parallax.changes
2026-04-28 11:59:42.609826970 +0200
@@ -1,0 +2,5 @@
+Sun Apr 26 19:19:50 UTC 2026 - Dirk Müller <[email protected]>
+
+- reset alternative for TW
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-parallax.spec ++++++
--- /var/tmp/diff_new_pack.HHHqOr/_old 2026-04-28 11:59:43.341857721 +0200
+++ /var/tmp/diff_new_pack.HHHqOr/_new 2026-04-28 11:59:43.353858225 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-parallax
#
-# 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
+
%define oldpython python
Name: python-parallax
Version: 1.0.8
@@ -34,12 +40,12 @@
Requires: openssh
Obsoletes: %{oldpython}-parallax < %{version}
BuildArch: noarch
-%if 0%{?suse_version}
-Requires(post): alts
-Requires(postun): alts
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
%else
-Requires(post): %{_sbindir}/update-alternatives
-Requires(postun): %{_sbindir}/update-alternatives
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
%endif
%python_subpackages
@@ -60,6 +66,9 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%pre
+%python_reset_alternative parallax-askpass
+
%post
%python_install_alternative parallax-askpass