## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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 %global srcname pytest-services %global forgeurl https://github.com/pytest-dev/%{srcname} Name: python-%{srcname} Version: 2.2.1 Release: %autorelease Summary: Services plugin for pytest License: MIT URL: %{forgeurl} Source0: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # Test dependencies: BuildRequires: python3dist(pytest) BuildRequires: memcached %global common_description %{expand: This plugin provides a set of fixtures and utility functions to start service processes for your tests with pytest.} %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{common_description} %prep %autosetup -p1 -n %{srcname}-%{version} # we don't care about upstream's PEP8 lint checks # (and need to port it to flake8 if we do) sed -i '/^pytest-pep8$/d' requirements-testing.txt %generate_buildrequires # not using -t as tox.ini has extra cruft %pyproject_buildrequires -r requirements-testing.txt %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_services %check k="$(awk 'NR>1 {pre=" and " } { printf "%snot %s", pre, $0 }' < - 2.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.2.1-10 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.2.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jul 02 2023 Python Maint - 2.2.1-6 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.2.1-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 08 2021 Michel Alexandre Salim - 2.2.1-1 - Initial Fedora package ## END: Generated by rpmautospec