Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Fabric for openSUSE:Factory 
checked in at 2025-08-18 16:08:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Fabric (Old)
 and      /work/SRC/openSUSE:Factory/.python-Fabric.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Fabric"

Mon Aug 18 16:08:50 2025 rev:47 rq:1300021 version:3.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Fabric/python-Fabric.changes      
2025-07-09 17:26:21.550431863 +0200
+++ /work/SRC/openSUSE:Factory/.python-Fabric.new.1085/python-Fabric.changes    
2025-08-18 16:09:12.297299009 +0200
@@ -1,0 +2,5 @@
+Thu Aug 14 13:29:28 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives on SLE-16-based and newer systems only
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Fabric.spec ++++++
--- /var/tmp/diff_new_pack.3lIsJ8/_old  2025-08-18 16:09:13.061330731 +0200
+++ /var/tmp/diff_new_pack.3lIsJ8/_new  2025-08-18 16:09:13.061330731 +0200
@@ -16,7 +16,11 @@
 #
 
 
+%if 0%{?suse_version} > 1500
 %bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
 %{?sle15_python_module_pythons}
 Name:           python-Fabric
 Version:        3.2.2
@@ -40,10 +44,8 @@
 BuildRequires:  %{python_module pytest-relaxed}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       alts
 Requires:       python-Deprecated
 Requires:       python-decorator
 Requires:       python-invoke >= 2.0
@@ -54,6 +56,13 @@
 Provides:       python-fabric = %{version}
 Provides:       python-fabric2 = %{version}
 BuildArch:      noarch
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 %python_subpackages
 
 %description
@@ -85,11 +94,18 @@
 %python_clone -a %{buildroot}%{_bindir}/fab
 
 %check
-%pytest tests/
+# fake, fake_agent, no_stdin - pytest-relaxed collects fixtures for some reason
+%pytest tests/ -k "not (fake or no_stdin)"
 
 %pre
 %python_libalternatives_reset_alternative fab
 
+%post
+%python_install_alternative fab
+
+%postun
+%python_uninstall_alternative fab
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst

Reply via email to