## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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-zodbpickle Version: 3.3 Release: %autorelease Summary: Fork of Python 2 pickle module for ZODB # Code taken from the python 3 sources is covered by the PSF-2.0 license. # Additions to that code are covered by the ZPL-2.1 license. License: PSF-2.0 AND ZPL-2.1 URL: https://www.zodb.org/ VCS: https://github.com/zopefoundation/zodbpickle Source0: %pypi_source zodbpickle BuildRequires: gcc BuildRequires: python3-devel BuildRequires: python3-test BuildRequires: %{py3_dist docutils} %global common_desc %{expand: This package presents a uniform pickling interface for ZODB: - Under Python2, this package forks both Python 2.7's pickle and cPickle modules, adding support for the protocol 3 opcodes. It also provides a new subclass of bytes, zodbpickle.binary, which Python2 applications can use to pickle binary values such that they will be unpickled as bytes under Py3k. - Under Py3k, this package forks the pickle module (and the supporting C extension) from Python 3.7 through 3.12. The fork adds support for the noload operations used by ZODB.} %description %{common_desc} %package -n python3-zodbpickle Summary: Fork of Python 3 pickle module for ZODB %description -n python3-zodbpickle %{common_desc} %prep %autosetup -n zodbpickle-%{version} -p1 %generate_buildrequires %pyproject_buildrequires -t -x test %build %pyproject_wheel rst2html --no-datestamp CHANGES.rst CHANGES.html rst2html --no-datestamp README.rst README.html %install %pyproject_install %pyproject_save_files zodbpickle %check %tox %files -n python3-zodbpickle -f %{pyproject_files} %doc CHANGES.html README.html %exclude %{python3_sitearch}/zodbpickle/*.c %changelog ## START: Generated by rpmautospec * Tue Apr 16 2024 Jerry James - 3.3-1 - Version 3.3 - Drop upstreamed patch for python 3.13a4 support * Tue Feb 20 2024 Jerry James - 3.2-2 - Fix the SPDX expression * Fri Feb 16 2024 Jerry James - 3.2-1 - Version 3.2 - Add patch to fix build with python 3.13 (bz 2245801) * Fri Jan 26 2024 Fedora Release Engineering - 3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Oct 5 2023 Jerry James - 3.1-1 - Version 3.1 * Fri Jul 21 2023 Fedora Release Engineering - 3.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Python Maint - 3.0.1-2 - Rebuilt for Python 3.12 * Tue Mar 28 2023 Jerry James - 3.0.1-1 - Version 3.0.1 * Fri Mar 24 2023 Jerry James - 3.0-1 - Version 3.0 * Thu Feb 23 2023 Jerry James - 2.6-2 - Dynamically generate BuildRequires * Fri Jan 20 2023 Fedora Release Engineering - 2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 28 2022 Jerry James - 2.6-1 - Version 2.6 * Sun Nov 6 2022 Jerry James - 2.5-1 - Version 2.5 * Thu Sep 15 2022 Jerry James - 2.4-1 - Version 2.4 - Drop upstreamed python 3.11 patch - Convert License tag to SPDX * Fri Jul 22 2022 Fedora Release Engineering - 2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 20 2022 Jerry James - 2.3-2 - Add -python3.11 patch for python 3.11 compatibility * Wed Jun 15 2022 Python Maint - 2.3-2 - Rebuilt for Python 3.11 * Fri Apr 22 2022 Jerry James - 2.3-1 - Version 2.3 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 5 2021 Jerry James - 2.2.0-1 - Version 2.2.0 - Drop upstreamed -const and -python310 patches - Use the latest python macros * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.0-8 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 18 2020 Jerry James - 2.0.0-6 - Add -python310 patch to adapt to python 3.10 * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jerry James - 2.0.0-4 - BR setuptools - Drop unneeded nose BR * Tue May 26 2020 Miro Hrončok - 2.0.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 13 2019 Jerry James - 2.0.0-1 - Version 2.0.0 * Mon Nov 11 2019 Jerry James - 1.1-1 - Version 1.1 - Remove trailing whitespace from the description - Add -const patch to eliminate gcc warnings * Thu Oct 03 2019 Miro Hrončok - 1.0.4-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.4-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jun 14 2019 Jerry James - 1.0.4-1 - New upstream version * Sat Feb 02 2019 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Dec 24 2018 Jerry James - 1.0.3-1 - New upstream version * Sat Nov 17 2018 Jerry James - 1.0.2-2 - Drop python2 subpackage * Fri Aug 10 2018 Jerry James - 1.0.2-1 - New upstream version * Sat Jul 14 2018 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.0.1-2 - Rebuilt for Python 3.7 * Thu May 17 2018 Jerry James - 1.0.1-1 - New upstream version * Fri Feb 09 2018 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Sep 23 2017 Jerry James - 0.7.0-1 - New upstream version * Thu Aug 03 2017 Fedora Release Engineering - 0.6.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.6.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.6.0-6 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.6.0-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Feb 1 2016 Jerry James - 0.6.0-3 - Comply with latest python packaging guidelines * Tue Nov 10 2015 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Apr 14 2015 Jerry James - 0.6.0-1 - New upstream version - Drop upstreamed -python34 patch * Sat Feb 21 2015 Jerry James - 0.5.2-3 - Use license macro * Sun Aug 17 2014 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 9 2014 Jerry James - 0.5.2-1 - Initial RPM ## END: Generated by rpmautospec