## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 tblib Name: python-%{srcname} Version: 3.0.0 Release: %autorelease Summary: Traceback serialization library License: BSD-2-Clause URL: https://pypi.python.org/pypi/%{srcname} Source0: %pypi_source %{srcname} # https://github.com/ionelmc/python-tblib/issues/74 Patch: 0001-Strip-locations.patch # https://github.com/ionelmc/python-tblib/pull/78 # Even harder location stripping for Python 3.13 Patch: 0001-test_pickle_exception-even-harder-location-stripping.patch BuildArch: noarch %global _description %{expand: Traceback serialization library that allows you to: * Pickle tracebacks and raise exceptions with pickled tracebacks in different processes. This allows better error handling when running code over multiple processes (imagine multiprocessing, billiard, futures, celery, etc). * Parse traceback strings and raise with the parsed tracebacks.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(twisted) %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %{pytest} -ra tests -vvv %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 18 2024 Adam Williamson - 3.0.0-3 - Backport PR #78 to fix tests with Python 3.13 * Sun Jun 09 2024 Python Maint - 3.0.0-2 - Rebuilt for Python 3.13 * Mon Jan 29 2024 Elliott Sales de Andrade - 3.0.0-1 - Update to latest version (#2245498) * Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 19 2023 Michel Alexandre Salim - 2.0.0-3 - Drop unneeded Python 3 version check, the new format is not compatible with RPM in EL9 * Wed Jul 12 2023 Michel Alexandre Salim - 2.0.0-2 - Unconditionally disable doctest for now * Fri Jul 07 2023 Elliott Sales de Andrade - 2.0.0-1 - Update to latest version (#2216696) * Fri Jul 07 2023 Elliott Sales de Andrade - 1.7.0-11 - Switch to latest Python macros * Wed Jun 28 2023 Python Maint - 1.7.0-8 - Rebuilt for Python 3.12 * Sat Apr 08 2023 Elliott Sales de Andrade - 1.7.0-7 - Switch to SPDX license * Fri Jan 20 2023 Fedora Release Engineering - 1.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 1.7.0-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 12 2021 Elliott Sales de Andrade - 1.7.0-1 - Update to latest version * Fri Jun 04 2021 Python Maint - 1.6.0-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.6.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 09 2020 Elliott Sales de Andrade - 1.6.0-1 - Update to latest version * Wed Oct 23 2019 Elliott Sales de Andrade - 1.5.0-1 - Update to latest version * Thu Oct 03 2019 Miro Hrončok - 1.4.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Sat Aug 24 2019 Elliott Sales de Andrade - 1.4.0-4 - Backport fixes for Python 3.8 * Mon Aug 19 2019 Miro Hrončok - 1.4.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 06 2019 Elliott Sales de Andrade - 1.4.0-1 - Update to latest version * Sat Feb 02 2019 Fedora Release Engineering - 1.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Oct 01 2018 Elliott Sales de Andrade 1.3.2-6 - Drop Python 2 subpackage * Sat Jul 14 2018 Fedora Release Engineering - 1.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.3.2-4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 23 2017 Elliott Sales de Andrade 1.3.2-2 - Standardize spec a bit more. - Simplify description a bit. * Mon Jun 5 2017 Elliott Sales de Andrade 1.3.2-1 - New upstream release. * Mon Feb 27 2017 Elliott Sales de Andrade 1.3.0-1 - Initial package release. ## END: Generated by rpmautospec