## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 # doc dependecies are not packaged %bcond_with docs Name: python-jaraco-collections Version: 5.1.0 Release: %autorelease Summary: Collection objects similar to those in stdlib by jaraco License: MIT URL: https://github.com/jaraco/jaraco.collections Source0: %{pypi_source jaraco_collections} BuildArch: noarch BuildRequires: python3-devel %description %{summary} %package -n python3-jaraco-collections Summary: %{summary} %description -n python3-jaraco-collections %{summary} %package -n python-jaraco-collections-doc Summary: jaraco.collections documentation %description -n python-jaraco-collections-doc Documentation for jaraco.collections %prep %autosetup -n jaraco_collections-%{version} %generate_buildrequires %pyproject_buildrequires -x test%{?with_docs:,doc} %build %pyproject_wheel %if %{with docs} # generate html docs %{python3} -m sphinx docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %endif %install %pyproject_install %pyproject_save_files -l jaraco %check %pytest %files -n python3-jaraco-collections -f %{pyproject_files} %doc README.rst %if %{with docs} %files -n python-jaraco-collections-doc %doc html %license LICENSE %endif %changelog ## START: Generated by rpmautospec * Wed Sep 18 2024 Cristian Le - 5.1.0-1 - Update to 5.1.0 * Fri Jul 19 2024 Fedora Release Engineering - 3.0.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 3.0.0-18 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 3.0.0-14 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 3.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 3.0.0-11 - Rebuilt for Python 3.11 * Thu Apr 07 2022 Dan Radez - 3.0.0-10 - Switched to pyproject macros - disabled docs. Sphinx can't resolve deps properly - Fixes: rhbz#2069540 * Wed Feb 09 2022 Dan Radez - 3.2.1-6 - Don't delete egginfo * Fri Jan 21 2022 Fedora Release Engineering - 3.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.0.0-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 3.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Charalampos Stratakis - 3.0.0-3 - Fix a file conflict with python3-jaraco - Rename the binary rpms to conform to the packaging guidelines - Misc packaging fixes * Fri Jun 19 2020 Matthias Runge - 3.0.0-2 - review feedback: fix license, remove (wrong) conflict * Fri Mar 13 2020 Matthias Runge - 3.0.0-1 - Initial package. ## END: Generated by rpmautospec