## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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-outcome Version: 1.2.0 Release: %autorelease Summary: Capture the outcome of Python function calls License: MIT OR Apache-2.0 URL: https://github.com/python-trio/outcome Source: %{pypi_source outcome} BuildArch: noarch %global _description %{expand: Outcome provides a function for capturing the outcome of a Python function call, so that it can be passed around.} %description %_description %package -n python3-outcome Summary: %{summary} BuildRequires: python3-devel %description -n python3-outcome %_description %prep %autosetup -n outcome-%{version} sed -i '/^pytest-cov\b/d' test-requirements.txt %generate_buildrequires %pyproject_buildrequires test-requirements.txt %build %pyproject_wheel %install %pyproject_install %pyproject_save_files outcome %check %pytest %files -n python3-outcome -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.2.0-5 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Sep 24 2023 Miroslav Suchý - 1.2.0-2 - correct SPDX formula * Mon Sep 18 2023 Carl George - 1.2.0-1 - Update to version 1.2.0, resolves rhbz#2097140 - Switch to SPDX license identifier - Always run tests * Fri Jul 21 2023 Fedora Release Engineering - 1.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 1.1.0-10 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.1.0-7 - Rebuilt for Python 3.11 * Wed Mar 02 2022 Carl George - 1.1.0-6 - Convert to pyproject macros * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jan 19 2022 Michel Alexandre Salim - 1.1.0-4 - Use old attrs API on EPEL 8 * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.0-2 - Rebuilt for Python 3.10 * Mon Feb 22 2021 Lumír Balhar - 1.1.0-1 - Update to 1.1.0 Resolves: rhbz#1898627 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jul 31 2020 Charalampos Stratakis - 1.0.1-1 - Update to 1.0.1 (#1762713) * Wed Jul 29 2020 Fedora Release Engineering - 1.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.0.0-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.0.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.0-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Sep 12 2018 Carl George - 1.0.0-1 - Initial package ## END: Generated by rpmautospec