## 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 %global srcname pytest-astropy-header Name: python-%{srcname} Version: 0.2.2 Release: %autorelease Summary: pytest plugin to add diagnostic info to the header of output License: BSD-3-Clause URL: https://github.com/astropy/pytest-astropy-header Source0: %{pypi_source} BuildRequires: python3-devel BuildArch: noarch %global _description %{expand: This plugin package provides a way to include information about the system, Python installation, and select dependencies in the header of the output when running pytest. It can be used with packages that are not affiliated with the Astropy project, but is optimized for use with astropy-related projects.} %description %_description %package -n python3-%{srcname} Summary: %{summary} BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist setuptools_scm} %description -n python3-%{srcname} %_description %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_astropy_header %check %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.rst %doc CHANGES.rst README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.2.2-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Nov 01 2023 Sergio Pascual - 0.2.2-1 - Migrated to SPDX licence - Package updated to 0.2.2 - Using new python macros * Fri Jul 21 2023 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.2.0-7 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.0-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 31 2021 Christian Dersch - 0.2.0-2 - BR: python3-wheel python3-pip python3-setuptools_scm * Fri Dec 31 2021 Christian Dersch - 0.2.0-1 - new version * Fri Jul 23 2021 Fedora Release Engineering - 0.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.1.2-6 - Rebuilt for Python 3.10 * Mon Apr 19 2021 Tomas Hrnciar - 0.1.2-5 - BuildRequire setuptools explicitly * Wed Jan 27 2021 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.1.2-2 - Rebuilt for Python 3.9 * Mon Feb 24 2020 Sergio Pascual - 0.1.2-1 - Initial import (#1795292). ## END: Generated by rpmautospec