Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-autoflake for 
openSUSE:Factory checked in at 2025-06-17 18:21:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autoflake (Old)
 and      /work/SRC/openSUSE:Factory/.python-autoflake.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-autoflake"

Tue Jun 17 18:21:44 2025 rev:15 rq:1286133 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autoflake/python-autoflake.changes        
2024-11-09 20:58:36.519013518 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-autoflake.new.19631/python-autoflake.changes 
    2025-06-17 18:22:08.990126182 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 14:23:53 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-autoflake.spec ++++++
--- /var/tmp/diff_new_pack.D4PMjm/_old  2025-06-17 18:22:09.558149801 +0200
+++ /var/tmp/diff_new_pack.D4PMjm/_new  2025-06-17 18:22:09.558149801 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-autoflake
 #
-# Copyright (c) 2024 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-autoflake
 Version:        2.3.1
@@ -24,17 +25,17 @@
 License:        MIT
 URL:            https://github.com/myint/autoflake
 Source:         
https://files.pythonhosted.org/packages/source/a/autoflake/autoflake-%{version}.tar.gz
-Requires:       python-tomli
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pyflakes >= 3.0.0}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-pyflakes >= 3.0.0
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires:       python-tomli
 BuildArch:      noarch
 %python_subpackages
 
@@ -67,11 +68,8 @@
 export LANG=en_US.UTF-8
 %pyunittest -v test_autoflake
 
-%post
-%python_install_alternative autoflake
-
-%postun
-%python_uninstall_alternative autoflake
+%pre
+%python_libalternatives_reset_alternative autoflake
 
 %files %{python_files}
 %doc AUTHORS.rst README.md

Reply via email to