## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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-filter-subpackage %global modname pytest_filter_subpackage %global sum Pytest plugin for filtering based on sub-packages Name: python-%{srcname} Version: 0.2.0 Release: %autorelease Summary: %{sum} License: BSD-3-Clause URL: https://pypi.python.org/pypi/%{srcname} Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This package contains a simple plugin for the pytest framework that provides a shortcut to testing all code and documentation for a given sub-package.} %description %_description %package -n python3-%{srcname} Summary: %{sum} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} # Remove egg files from source rm -rf %{pythonicname}.egg-info %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{modname} %check %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.rst %doc README.rst CHANGES.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.2.0-2 - Rebuilt for Python 3.13 * Tue Mar 05 2024 Mattia Verga - 0.2.0-1 - Update to 0.2.0 (fedora#2267735) * Fri Jan 26 2024 Fedora Release Engineering - 0.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.1.2-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Dec 18 2022 Mattia Verga - 0.1.2-1 - Update to 0.1.2 (fedora#2152461) * Fri Jul 22 2022 Fedora Release Engineering - 0.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.1.1-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1.1-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 01 2020 Mattia Verga - 0.1.1-2 - Correct Provides - fixes rhbz#1902785 * Sun Nov 15 2020 Mattia Verga - 0.1.1-1 - Initial packaging ## END: Generated by rpmautospec