## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 # Created by pyp2rpm-3.3.2 %global pkg_name jaraco-classes %global pypi_name jaraco.classes # waiting on jaraco-packaging and rst-linker to build docs %bcond_with doc Name: python-jaraco-classes Version: 3.4.0 Release: %autorelease Summary: Utility functions for Python class constructs License: MIT URL: https://github.com/jaraco/jaraco.classes Source0: %{pypi_source jaraco.classes} BuildArch: noarch %description Utility functions for Python class constructs. %package -n python3-jaraco-classes Summary: %{summary} BuildRequires: python3-devel # TODO: Obsoletes python3-jaraco # https://src.fedoraproject.org/rpms/python-jaraco-packaging/pull-request/6 Requires: python3-jaraco %description -n python3-jaraco-classes Utility functions for Python class constructs. %if %{with docs} %package -n python-jaraco-classes-doc Summary: jaraco-classes documentation BuildRequires: python3dist(pytest-checkdocs) BuildRequires: python3dist(sphinx) BuildRequires: python3dist(jaraco-packaging) >= 3.2 BuildRequires: python3dist(rst-linker) >= 1.9 %description -n python-jaraco-classes-doc Documentation for jaraco-classes %endif %prep %autosetup -n jaraco.classes-%{version} # Remove dev-only dependencies. Upstream later split the `test` dependencies out of it # https://github.com/jaraco/skeleton/issues/138 sed -E -i '/pytest-/d' setup.cfg %generate_buildrequires %pyproject_buildrequires -x testing %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-classes -f %{pyproject_files} %doc README.rst %if %{with docs} %files -n python-jaraco-classes-doc %doc html %license LICENSE %endif %changelog ## START: Generated by rpmautospec * Wed Sep 18 2024 Cristian Le - 3.4.0-5 - Simplify the packaging * Fri Jul 19 2024 Fedora Release Engineering - 3.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.4.0-2 - Rebuilt for Python 3.13 * Tue Apr 02 2024 Dan Radez - 3.4.0-1 - Update to upstream 3.4.0 rhbz#2272327 * Wed Feb 14 2024 Dan Radez - 3.3.1-1 - Update to upstream 3.3.1 rhbz#2263343 * Fri Jan 26 2024 Fedora Release Engineering - 3.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Dan Radez - 3.3.0-1 - Update to 3.3.0 rhbz#2221498 * Tue Jun 13 2023 Python Maint - 3.2.3-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 3.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 28 2022 Dan Radez - 3.2.3-1 - update to 3.2.3 - rhbz#2130354 - converting spec to use pyproject macros - removing excludes for files not in source anymore * Fri Jul 22 2022 Fedora Release Engineering - 3.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.2.1-7 - Rebuilt for Python 3.11 * Wed Feb 09 2022 Dan Radez - 3.2.1-6 - Don't delete egginfo * Fri Jan 21 2022 Fedora Release Engineering - 3.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.2.1-3 - Rebuilt for Python 3.10 * Thu Mar 04 2021 Miro Hrončok - 3.2.1-2 - Don't co-own /usr/lib/python3.X/site-packages/jaraco * Tue Feb 23 2021 Dan Radez - 3.2.1-1 - Update to 3.2.1 * Wed Jan 27 2021 Fedora Release Engineering - 3.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 3.1.0-2 - Rebuilt for Python 3.9 * Wed Feb 12 2020 Dan Radez - 3.1.0 - update to 3.1.0 * Thu Jan 30 2020 Fedora Release Engineering - 2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 11 2019 Ken Dreyer - 2.0-7 - Set minimum pytest version to 3.4 for compatibility with el8 * Thu Oct 03 2019 Miro Hrončok - 2.0-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 22 2019 Dan Radez - 2.0-5 - Removing the sed . to _ it's confusing and not needed * Mon Aug 19 2019 Miro Hrončok - 2.0-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 08 2019 Dan Radez - 2.0-2 - fixed egg info * Tue Apr 02 2019 Dan Radez - 2.0-1 - Initial package. ## END: Generated by rpmautospec