## 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 # Bconds are needed for Python bootstrap %bcond docs %{undefined rhel} %bcond tests 1 # Install doc subpackage files into the main package doc directory %global _docdir_fmt %{name} Name: python-zope-interface Version: 7.1.1 Release: %autorelease Summary: Zope 3 Interface Infrastructure License: ZPL-2.1 URL: https://pypi.io/project/zope.interface Source0: %{pypi_source zope.interface} %description Interfaces are a mechanism for labeling objects as conforming to a given API or contract. This is a separate distribution of the zope.interface package used in Zope 3. %package -n python3-zope-interface Summary: Zope 3 Interface Infrastructure %{?python_provide:%python_provide python3-zope-interface} BuildRequires: gcc BuildRequires: make BuildRequires: python3-devel %description -n python3-zope-interface Interfaces are a mechanism for labeling objects as conforming to a given API or contract. This is a separate distribution of the zope.interface package used in Zope 3. %if %{with docs} %package doc Summary: Documentation for zope.interface BuildArch: noarch BuildRequires: python3-docs %description doc Documentation for %{name}. %endif %prep %autosetup -n zope.interface-%{version} -p1 # Update the sphinx theme name sed -i "s/'default'/'classic'/" docs/conf.py # Use local objects.inv for intersphinx sed -i "s|\('https://docs\.python\.org/': \)None|\1'%{_docdir}/python3-docs/html/objects.inv'|" docs/conf.py %generate_buildrequires %pyproject_buildrequires %{?with_docs: -x docs} %{?with_tests: -x test} %build %pyproject_wheel %if %{with docs} # build the sphinx documents PYTHONPATH=$PWD/src make -C docs html rm -f docs/_build/html/.buildinfo %endif %install %pyproject_install # C files don't need to be packaged rm -f %{buildroot}%{python3_sitearch}/zope/interface/_zope_interface_coptimizations.c %if %{with tests} %check # We have to run tests installed together with the package # https://github.com/zopefoundation/zope.interface/issues/196 pushd %{buildroot}%{python3_sitearch} PURE_PYTHON=1 python3 -m unittest discover -vv -s zope/interface -t . popd %endif %files -n python3-zope-interface %doc README.rst CHANGES.rst %license COPYRIGHT.txt LICENSE.txt %{python3_sitearch}/zope/interface/ # Co-own %%{python3_sitearch}/zope/ %dir %{python3_sitearch}/zope/ %exclude %{python3_sitearch}/zope/interface/tests/ %exclude %{python3_sitearch}/zope/interface/common/tests/ %{python3_sitearch}/zope.interface-*.dist-info %{python3_sitearch}/zope.interface-*-nspkg.pth %if %{with docs} %files doc %doc docs/_build/html/ %endif %changelog ## START: Generated by rpmautospec * Thu Oct 24 2024 Lumir Balhar - 7.1.1-1 - Update to 7.1.1 (rhbz#2321317) * Tue Oct 15 2024 Zbigniew Jędrzejewski-Szmek - 7.1.0-3 - Rebuild for rust-add-determinism-0.4.1-1.fc42 * Mon Oct 14 2024 Zbigniew Jędrzejewski-Szmek - 7.1.0-2 - Rebuild for rust-add-determinism-0.4.0-2.fc42 * Fri Oct 11 2024 Lumir Balhar - 7.1.0-1 - Update to 7.1.0 (rhbz#2317779) * Thu Sep 26 2024 Lumir Balhar - 7.0.3-2 - Fix FTBFS with Python 3.13.0rc2 * Wed Aug 28 2024 Lumir Balhar - 7.0.3-1 - Update to 7.0.3 (rhbz#2307991) * Thu Aug 08 2024 Lumir Balhar - 7.0.1-1 - Update to 7.0.1 (rhbz#2282309) * Fri Jul 19 2024 Fedora Release Engineering - 6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 6.3-4 - Rebuilt for Python 3.13 * Fri Jun 07 2024 Python Maint - 6.3-3 - Bootstrap for Python 3.13 * Tue May 14 2024 Karolina Surma - 6.3-2 - Fix the build with Python 3.13.0b1 * Mon Apr 15 2024 Lumir Balhar - 6.3-1 - Update to 6.3 (rhbz#2274748) * Sun Apr 14 2024 Miroslav Suchý - 6.2-2 - convert ZPLv2.1 license to SPDX * Fri Feb 16 2024 Lumir Balhar - 6.2-1 - Update to 6.2 (rhbz#2264505) * Mon Jan 29 2024 Karolina Surma - 6.0-5 - Make test_document compatible with Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Aug 16 2023 Lumír Balhar - 6.0-1 - Update to 6.0 (rhbz#2179283) * Fri Jul 21 2023 Fedora Release Engineering - 5.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Python Maint - 5.5.2-4 - Rebuilt for Python 3.12 * Tue Jun 13 2023 Python Maint - 5.5.2-3 - Bootstrap for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 5.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 18 2022 Lumír Balhar - 5.5.2-1 - Update to 5.5.2 (rhbz#2143698) * Thu Nov 03 2022 Lumír Balhar - 5.5.1-1 - Update to 5.5.1 Resolves: rhbz#2139843 * Mon Oct 10 2022 Lumír Balhar - 5.5.0-1 - Update to 5.5.0 Resolves: rhbz#2046687 * Fri Jul 22 2022 Fedora Release Engineering - 5.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 5.4.0-7 - Rebuilt for Python 3.11 * Mon Jun 13 2022 Python Maint - 5.4.0-6 - Bootstrap for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 5.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 8 2021 Jerry James - 5.4.0-4 - BR gcc to build the optimized interface - Add doc subpackage to hold Sphinx-built documentation - Modernize the spec file * Fri Jul 23 2021 Fedora Release Engineering - 5.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 5.4.0-2 - Rebuilt for Python 3.10 * Thu Apr 29 2021 Lumír Balhar - 5.4.0-1 - Update to 5.4.0 (#1949876) * Wed Jan 27 2021 Fedora Release Engineering - 5.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 19 2020 Lumír Balhar - 5.2.0-1 - Update to 5.2.0 (#1894930) * Fri Oct 02 2020 Lumír Balhar - 5.1.2-1 - Update to 5.1.2 (#1883998) * Wed Jul 29 2020 Fedora Release Engineering - 5.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 5.1.0-2 - Rebuilt for Python 3.9 * Thu Apr 09 2020 Lumír Balhar - 5.1.0-1 - Update to 5.1.0 (#1822171) * Fri Mar 20 2020 Lumír Balhar - 5.0.2-1 - Update to 5.0.2 (#1815086) * Thu Jan 30 2020 Fedora Release Engineering - 4.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 19 2019 Lumír Balhar - 4.7.1-1 - Update to 4.7.1 (#1771185) * Fri Oct 25 2019 Lumír Balhar - 4.6.0-5 - Python 2 subpackage removed * Thu Oct 03 2019 Miro Hrončok - 4.6.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Fri Aug 16 2019 Miro Hrončok - 4.6.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 4.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Feb 05 2019 Lumír Balhar - 4.6.0-1 - New upstream version * Sat Feb 02 2019 Fedora Release Engineering - 4.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 4.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Lumír Balhar - 4.5.0-1 - New upstream version - Specfile cleanup * Sun Jun 17 2018 Miro Hrončok - 4.4.3-2 - Rebuilt for Python 3.7 * Tue Feb 06 2018 Lumír Balhar - 4.4.3-1 - New upstream release * Fri Sep 29 2017 Troy Dawson - 4.3.3-7 - Cleanup spec file conditionals * Thu Aug 03 2017 Fedora Release Engineering - 4.3.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 4.3.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 07 2017 Igor Gnatenko - 4.3.3-4 - Rebuild due to bug in RPM (RHBZ #1468476) * Sat Feb 11 2017 Fedora Release Engineering - 4.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Dec 21 2016 Jerry James - 4.3.3-2 - Rebuild for Python 3.6 again * Wed Dec 14 2016 Ralph Bean - 4.3.3-1 - new version * Mon Dec 12 2016 Stratakis Charalampos - 4.3.2-2 - Rebuild for Python 3.6 * Tue Sep 27 2016 Ralph Bean - 4.3.2-1 - new version * Tue Jul 19 2016 Fedora Release Engineering - 4.2.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue Jun 28 2016 Ralph Bean - 4.2.0-1 - new version * Tue Jun 28 2016 Ralph Bean - 4.1.3-5 - Modernize python macros. - Provide an explicit python2 subpackage. * Thu Feb 04 2016 Fedora Release Engineering - 4.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 28 2016 Dan Horák - 4.1.3-3 - make Python3 support more modular * Wed Nov 04 2015 Matej Stuchlik - 4.1.3-2 - Rebuilt for Python 3.5 * Mon Oct 05 2015 Ralph Bean - 4.1.3-1 - new version * Thu Jun 18 2015 Fedora Release Engineering - 4.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Feb 18 2015 Ralph Bean - 4.1.2-1 - new version * Wed Aug 20 2014 Ralph Bean - 4.1.1-1 - Latest upstream. - Modernized python macros. * Sun Aug 17 2014 Fedora Release Engineering - 4.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 4.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 14 2014 Bohuslav Kabrda - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Wed Feb 12 2014 Ralph Bean - 4.1.0-1 - Latest upstream. - Change .zip back to .tar.gz. - Drop fedora 12 conditional. * Sun Aug 04 2013 Fedora Release Engineering - 4.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Apr 11 2013 Luke Macken - 4.0.5-1 - Update to 4.0.5 (#891046) - Run the unit tests with nose * Tue Mar 26 2013 David Malcolm - 4.0.4-2 - remove rhel clause from python3 guard * Mon Feb 25 2013 Ralph Bean - 4.0.4-1 - Latest upstream - README and CHANGES moved from .txt to .rst. * Thu Feb 14 2013 Fedora Release Engineering - 4.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Dec 06 2012 Ralph Bean - 4.0.2-4 - Wrap files section in a python3 conditional. * Thu Nov 29 2012 Ralph Bean - 4.0.2-3 - Typofix to python-zope-event requirement. * Thu Nov 29 2012 Ralph Bean - 4.0.2-2 - Added dependency on python-zope-event. * Wed Nov 28 2012 Ralph Bean - 4.0.2-1 - Latest upstream release. - Python3 subpackage. - Rearrange the way we package docs. * Sat Jul 21 2012 Fedora Release Engineering - 3.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 7 2012 Robin Lee - 3.7.0-1 - Update to 3.7.0 (ZTK 1.1.3) * Wed Feb 09 2011 Fedora Release Engineering - 3.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Oct 4 2010 Robin Lee - 3.6.1-7 - Obsoletes python-zope-filesystem * Wed Sep 29 2010 jkeating - 3.6.1-6 - Rebuilt for gcc bug 634757 * Sun Sep 19 2010 Robin Lee - 3.6.1-5 - Move the texts files to %%doc - Exclude the tests from installation - Filter private shared library provides * Wed Sep 15 2010 Robin Lee - 3.6.1-4 - Run the test suite - Don't move the text files * Tue Aug 31 2010 Robin Lee - 3.6.1-3 - Remove python-zope-filesystem from requirements - Own %%{python_sitearch}/zope/ - BR: python-setuptools-devel renamed to python-setuptools - Spec cleaned up * Thu Jul 22 2010 David Malcolm - 3.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Tue Jun 22 2010 Robin Lee - 3.6.1-1 - update to 3.6.1 - License provided in the source package - include the tests * Sun Jul 26 2009 Fedora Release Engineering - 3.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jul 05 2009 Felix Schwarz 3.5.2-1 - update to 3.5.2 * Mon Jun 01 2009 Luke Macken 3.5.1-3 - Add python-setuptools-devel to the BuildRequires, so we generate egg-info * Sun Apr 05 2009 Felix Schwarz 3.5.1-2 - use correct source filename (upstream switched from zip to tar.gz) * Sun Apr 05 2009 Felix Schwarz 3.5.1-1 - update to 3.5.1 * Thu Feb 26 2009 Fedora Release Engineering - 3.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Dec 17 2008 Conrad Meyer - 3.5.0-3 - Make compatible with the new python-zope-filesystem. * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 3.5.0-2 - Rebuild for Python 2.6 * Sat Nov 15 2008 Felix Schwarz 3.5.0-1 - update to 3.5.0 * Mon Mar 31 2008 Paul Howarth 3.4.1-1 - update to 3.4.1 - incorporate suggestions from Felix Schwarz: - new summary and description - new upstream URL (old one out of date) - don't package test files - include more documentation * Mon Mar 31 2008 Paul Howarth 3.3.0-1 - update to 3.3.0 - update source URL to include versioned directory and new tarball name - drop the gcc 4.x compatibility patch, no longer needed - don't run the test suite as it now depends on zope.testing - exclude _zope_interface_coptimizations.c source from the binary package * Thu Feb 14 2008 Paul Howarth 3.0.1-10 - rebuild with gcc 4.3.0 for Fedora 9 * Fri Jan 4 2008 Paul Howarth 3.0.1-9 - tweak %%files list to pull in egg info file when necessary - fix permissions on shared objects (silence rpmlint) * Wed Aug 29 2007 Paul Howarth 3.0.1-8 - update license tag to ZPLv2.1 in anticipation of this tag being approved * Sat Dec 9 2006 Paul Howarth 3.0.1-7 - rebuild against python 2.5 for Rawhide * Tue Oct 31 2006 Paul Howarth 3.0.1-6 - add %%check section * Wed Sep 20 2006 Paul Howarth 3.0.1-5 - dispense with %%{pybasever} macro and python-abi dependency, not needed from FC4 onwards - include ZPL 2.1 license text - add reference in %%description to origin of patch - change License: tag from "ZPL 2.1" to "Zope Public License" to shut rpmlint up * Thu Aug 31 2006 Paul Howarth 3.0.1-4 - files list simplified as .pyo files are no longer %%ghost-ed * Tue May 9 2006 Paul Howarth 3.0.1-3 - import from PyVault Repository - rewrite in Fedora Extras style * Tue Aug 23 2005 Jeff Pitman 3.0.1-2 - add bug fix for gcc 4 * Mon Feb 07 2005 Jeff Pitman 3.0.1-1 - new rpm ## END: Generated by rpmautospec