Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-apacheconfig for
openSUSE:Factory checked in at 2025-06-17 18:21:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apacheconfig (Old)
and /work/SRC/openSUSE:Factory/.python-apacheconfig.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-apacheconfig"
Tue Jun 17 18:21:19 2025 rev:2 rq:1286099 version:0.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-apacheconfig/python-apacheconfig.changes
2023-07-05 15:31:01.150729735 +0200
+++
/work/SRC/openSUSE:Factory/.python-apacheconfig.new.19631/python-apacheconfig.changes
2025-06-17 18:21:47.225221002 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 12:21:33 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-apacheconfig.spec ++++++
--- /var/tmp/diff_new_pack.0CEXjg/_old 2025-06-17 18:21:48.173260435 +0200
+++ /var/tmp/diff_new_pack.0CEXjg/_new 2025-06-17 18:21:48.173260435 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-apacheconfig
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#
+%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-apacheconfig
Version: 0.3.2
@@ -25,20 +26,20 @@
Group: Development/Languages/Python
URL: https://github.com/etingof/apacheconfig
Source:
https://files.pythonhosted.org/packages/source/a/apacheconfig/apacheconfig-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
-# SECTION test requirements
-BuildRequires: %{python_module ply >= 3.4}
-BuildRequires: %{python_module six}
-# /SECTION
+BuildRequires: alts
BuildRequires: fdupes
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
+BuildRequires: python-rpm-macros
+Requires: alts
Requires: python-ply >= 3.4
Requires: python-six
BuildArch: noarch
+# SECTION test requirements
+BuildRequires: %{python_module ply >= 3.4}
+BuildRequires: %{python_module six}
+# /SECTION
%python_subpackages
%description
@@ -59,11 +60,8 @@
#CHOOSE: %%pytest OR %%pyunittest -v OR CUSTOM
%pyunittest -v
-%post
-%python_install_alternative apacheconfigtool
-
-%postun
-%python_uninstall_alternative apacheconfigtool
+%pre
+%python_libalternatives_reset_alternative apacheconfigtool
%files %{python_files}
%doc CHANGES.rst README.md