## 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 Name: python-wurlitzer Version: 3.1.1 Release: %autorelease Summary: Capture C-level output in context managers License: MIT URL: https://github.com/minrk/wurlitzer VCS: git:%{url}.git Source: %{url}/archive/%{version}/wurlitzer-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} %description Capture C-level stdout/stderr pipes in Python via os.dup2. %package -n python3-wurlitzer Summary: %{summary} %description -n python3-wurlitzer Capture C-level stdout/stderr pipes in Python via os.dup2. %prep %autosetup -n wurlitzer-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files wurlitzer %check %pytest test.py %files -n python3-wurlitzer -f %{pyproject_files} %doc CHANGELOG.md README.md %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Jerry James - 3.1.1-2 - Add VCS field * Wed Jun 12 2024 Jerry James - 3.1.1-1 - Version 3.1.1 * Fri Jun 07 2024 Python Maint - 3.1.0-2 - Rebuilt for Python 3.13 * Mon Apr 29 2024 Jerry James - 3.1.0-1 - Version 3.1.0 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Aug 17 2023 Jerry James - 3.0.3-1 - Version 3.0.3 - Verify the License tag is valid SPDX - Modernize the spec file * Fri Jul 21 2023 Fedora Release Engineering - 1.0.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.0.3-13 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.0.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.0.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.0.3-10 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.0.3-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.0.3-7 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 1.0.3-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 16 2019 Mukundan Ragavan - 1.0.3-2 - Use pypi_source macro - Enable tests * Sun Sep 15 2019 Mukundan Ragavan - 1.0.3-1 - Initial package. ## END: Generated by rpmautospec