14
0
forked from pool/python-Fabric

2 Commits

Author SHA256 Message Date
30de5db7de Accepting request 1195241 from devel:languages:python
- Add patch support-pytest-8.patch:
  * Use setup_method(), not setup().
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1195241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Fabric?expand=0&rev=45
2024-08-22 16:13:53 +00:00
d5e12005d4 - Add patch support-pytest-8.patch:
* Use setup_method(), not setup().
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=88
2024-08-22 06:26:40 +00:00
2 changed files with 6 additions and 28 deletions

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
Thu Aug 14 13:29:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Tue Jul 8 13:16:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 22 06:25:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> Thu Aug 22 06:25:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Fabric # spec file for package python-Fabric
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,6 @@
# #
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-Fabric Name: python-Fabric
Version: 3.2.2 Version: 3.2.2
@@ -50,19 +45,16 @@ Requires: python-Deprecated
Requires: python-decorator Requires: python-decorator
Requires: python-invoke >= 2.0 Requires: python-invoke >= 2.0
Requires: python-paramiko >= 3.2 Requires: python-paramiko >= 3.2
Requires(post): update-alternatives
Requires(postun): update-alternatives
Conflicts: python-Fabric3 Conflicts: python-Fabric3
Provides: python-Fabric2 = %{version} Provides: python-Fabric2 = %{version}
Provides: python-Fabric3 = %{version} Provides: python-Fabric3 = %{version}
Provides: python-Fabric3 = %{version}
Provides: python-fabric = %{version} Provides: python-fabric = %{version}
Provides: python-fabric2 = %{version} Provides: python-fabric2 = %{version}
Provides: python-fabric2 = %{version}
BuildArch: noarch BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages %python_subpackages
%description %description
@@ -94,11 +86,7 @@ sed -i 's/from invoke.vendor\./from\ /' fabric/connection.py fabric/group.py int
%python_clone -a %{buildroot}%{_bindir}/fab %python_clone -a %{buildroot}%{_bindir}/fab
%check %check
# fake, fake_agent, no_stdin - pytest-relaxed collects fixtures for some reason %pytest tests/
%pytest tests/ -k "not (fake or no_stdin)"
%pre
%python_libalternatives_reset_alternative fab
%post %post
%python_install_alternative fab %python_install_alternative fab