## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Tests are disabled by default. 😞 # Enable if https://bugzilla.redhat.com/show_bug.cgi?id=1949502 / # https://github.com/bitprophet/pytest-relaxed/issues/12 is resolved: %bcond_with tests %global srcname fabric Name: python-%{srcname} Version: 3.2.2 Release: %autorelease Summary: High level SSH command execution License: BSD-3-Clause URL: https://github.com/fabric/fabric Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Needed here since invoke's vendored decorator is not used. # See RHBZ 2156956. Requires: python3dist(decorator) %if %{with tests} # Extra pytest (a superset of extra testing) BuildRequires: python3dist(pytest) # Missing from setup.py (only in requirements-dev.txt), but still needed for # testing: BuildRequires: python3dist(pytest-relaxed) %endif BuildRequires: help2man %global _description %{expand: Fabric is a high level Python (2.7, 3.4+) library designed to execute shell commands remotely over SSH, yielding useful Python objects in return. It builds on top of Invoke (subprocess command execution and command-line features) and Paramiko (SSH protocol implementation), extending their APIs to complement one another and provide additional functionality.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -p1 -n %{srcname}-%{version} # Allow a slightly older invoke version. sed -i 's/invoke>=2.0/invoke>=1.7/' setup.py %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %if %{with tests} %pytest %endif %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.rst %{_bindir}/fab %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 3.2.2-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Sep 01 2023 Major Hayden - 3.2.2-1 - Update to 3.2.2 * Mon Aug 07 2023 Major Hayden - 3.2.1-1 - Update to 3.2.1 * Mon Aug 07 2023 Major Hayden - 3.1.0-4 - Add packit config * Fri Jul 21 2023 Fedora Release Engineering - 3.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 14 2023 Python Maint - 3.1.0-2 - Rebuilt for Python 3.12 * Thu May 25 2023 Major Hayden - 3.1.0-1 - Update to 3.1.0 rhbz#2210128 * Thu May 11 2023 Major Hayden - 3.0.1-2 - Update to 3.0.1 rhbz#2192127 * Mon May 08 2023 Major Hayden - 3.0.1-1 - Migrated to SPDX license * Mon Feb 13 2023 Major Hayden - 3.0.0-3 - Add decorator to Requires rhbz#2156956 * Fri Feb 10 2023 Major Hayden - 3.0.0-2 - Fix patches for invoke version override * Fri Feb 10 2023 Major Hayden - 3.0.0-1 - Update to 3.0.0 rhbz#2162805 * Fri Jan 20 2023 Fedora Release Engineering - 2.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 15 2022 Major Hayden - 2.7.1-1 - Update to 2.7.1 rhbz#2107419 * Tue Jun 14 2022 Python Maint - 2.7.0-2 - Rebuilt for Python 3.11 * Tue Apr 05 2022 Major Hayden - 2.7.0-1 - 🚀 Update to 2.7.0 * Fri Jan 21 2022 Fedora Release Engineering - 2.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 2.6.0-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 10 2021 Major Hayden - 2.6.0-1 - Initial import (#1967774) ## END: Generated by rpmautospec