Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-PyCondor for openSUSE:Factory
checked in at 2025-06-04 23:48:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyCondor (Old)
and /work/SRC/openSUSE:Factory/.python-PyCondor.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyCondor"
Wed Jun 4 23:48:37 2025 rev:5 rq:1282850 version:0.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyCondor/python-PyCondor.changes
2025-05-12 16:50:06.631768156 +0200
+++
/work/SRC/openSUSE:Factory/.python-PyCondor.new.16005/python-PyCondor.changes
2025-06-04 23:48:38.171500076 +0200
@@ -1,0 +2,5 @@
+Wed Jun 4 15:37:29 UTC 2025 - Felix Stegmeier <[email protected]>
+
+- fix usage of libalternatives
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyCondor.spec ++++++
--- /var/tmp/diff_new_pack.wTaJId/_old 2025-06-04 23:48:38.827527314 +0200
+++ /var/tmp/diff_new_pack.wTaJId/_new 2025-06-04 23:48:38.827527314 +0200
@@ -16,6 +16,7 @@
#
+%bcond_without libalternatives
Name: python-PyCondor
Version: 0.6.0
Release: 0
@@ -26,11 +27,11 @@
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: alts
Requires: python-click >= 7.0
-Requires(post): alts
-Requires(postun): alts
BuildArch: noarch
# SECTION For tests
BuildRequires: %{python_module click >= 7.0}
@@ -54,11 +55,9 @@
%python_clone -a %{buildroot}%{_bindir}/pycondor
-%post
-%python_install_alternative pycondor
-
-%postun
-%python_uninstall_alternative pycondor
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative pycondor
%check
# We cannot actually submit jobs, so disable these tests