## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 # This package is interdependant on rst-linker to build docs # will build both with out docs and add docs in later %bcond_with docs Name: python-jaraco-packaging Version: 10.2.2 Release: %autorelease Summary: Tools to supplement packaging Python releases License: MIT URL: https://github.com/jaraco/jaraco.packaging Source0: %{pypi_source jaraco_packaging} BuildArch: noarch BuildRequires: python3-devel BuildRequires: tomcli %description Tools for packaging.dependency_tree A dist-utils command for reporting the dependency tree as resolved by setup-tools. Use after installing a package.show A dist-utils command for reporting the attributes of a distribution, such as the version or author name. %package -n python3-jaraco Summary: A Parent package for jaraco's parent dir and init file. %description -n python3-jaraco A Parent package for jaraco's parent dir and init file. %package -n python3-jaraco-packaging Summary: %{summary} %description -n python3-jaraco-packaging Tools for packaging.dependency_tree A dist-utils command for reporting the dependency tree as resolved by setup-tools. Use after installing a package.show A dist-utils command for reporting the attributes of a distribution, such as the version or author name. %if %{with docs} %package -n python-jaraco-packaging-doc Summary: jaraco.packaging documentation BuildRequires: python3dist(sphinx) BuildRequires: python3dist(rst-linker) %description -n python-jaraco-packaging-doc Documentation for jaraco.packaging %endif %prep %autosetup -n jaraco_packaging-%{version} # Remove dev-only dependencies. Upstream later split the `test` dependencies out of it # https://github.com/jaraco/skeleton/issues/138 tomcli set pyproject.toml lists delitem "project.optional-dependencies.test" "pytest-.*" %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %if %{with docs} # generate html docs # This package requires itself to build 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 # Overriding --import-mode because it was picking up `jaraco.packaging` as `packaging` # metadata.hunt_down_url, print-metadata.main: tests run `pip install` without `--no-build-isolation` # sphinx._load_metadata_from_wheel: test runs `pip download` %pytest --import-mode prepend -k "not (jaraco.packaging.metadata.hunt_down_url \ or jaraco.packaging.print-metadata.main \ or jaraco.packaging.sphinx._load_metadata_from_wheel)" %files -n python3-jaraco %license LICENSE %doc README.rst %{python3_sitelib}/jaraco %exclude %{python3_sitelib}/jaraco/packaging %files -n python3-jaraco-packaging -f %{pyproject_files} %doc README.rst %if %{with docs} %files -n python-jaraco-packaging-doc %license LICENSE %doc html %endif %changelog ## START: Generated by rpmautospec * Wed Sep 18 2024 Cristian Le - 10.2.2-4 - Simplify the packaging * Fri Jul 19 2024 Fedora Release Engineering - 10.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jul 13 2024 Dan Radez - 10.2.2-1 - Update to uppstream 10.2.2 rhbz#2293813 * Fri Jun 07 2024 Python Maint - 10.1.0-2 - Rebuilt for Python 3.13 * Wed Apr 24 2024 Dan Radez - 10.1.0-1 - Update to uppstream 10.1.0 rhbz#2275765 * Tue Apr 02 2024 Dan Radez - 9.5.0-1 - Update to upstream 9.5.0 rhbz#2272430 * Fri Jan 26 2024 Fedora Release Engineering - 9.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 9.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 9.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Dan Radez - 9.3.0-1 - update to 9.3.0 rhbz#2220826 * Thu Jun 15 2023 Python Maint - 9.2.0-2 - Rebuilt for Python 3.12 * Mon May 15 2023 Dan Radez - 9.2.0-1 - update to 9.2.0 rhbz#2203493 * Fri Jan 20 2023 Fedora Release Engineering - 9.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 29 2022 Dan Radez - 9.1.2-1 - update to 9.1.2 rhbz#2156792 * Fri Sep 30 2022 Dan Radez - 9.1.1-1 - Update to 9.1.1 rhbz#2131264 * Fri Jul 22 2022 Fedora Release Engineering - 9.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 9.0.0-2 - Rebuilt for Python 3.11 * Wed Mar 09 2022 Charalampos Stratakis - 9.0.0-1 - Update to 9.0.0 and utilize pyproject macros - Fixes: rhbz#2053653 * Tue Feb 08 2022 Dan Radez - 8.2.1-5 - Don't remove egginfo * Fri Jan 21 2022 Fedora Release Engineering - 8.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 8.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 8.2.1-2 - Rebuilt for Python 3.10 * Fri Apr 30 2021 Dan Radez - 8.2.1-1 - Update to 8.2.1 * Wed Jan 27 2021 Fedora Release Engineering - 8.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 05 2021 Dan Radez - 8.2.0-1 - Update to 8.2.0 * Wed Dec 09 2020 Dan Radez - 8.1.1-1 - Update to 8.1.1 * Wed Jul 29 2020 Fedora Release Engineering - 8.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 8.1.0-2 - Rebuilt for Python 3.9 * Fri May 08 2020 Dan Radez - 8.1.0-1 - Update to 8.1 * Thu Jan 30 2020 Fedora Release Engineering - 6.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 6.2-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Tue Aug 20 2019 Miro Hrončok - 6.2-5 - Fix dependency on rst.linker * Tue Aug 20 2019 Dan Radez - 6.2-4 - removing the sed . to _ it's confusing and not needed * Mon Aug 19 2019 Miro Hrončok - 6.2-3 - Rebuilt for Python 3.8 * Mon Aug 19 2019 Miro Hrončok - 6.2-2 - Rebuilt for Python 3.8 * Fri Aug 16 2019 Dan Radez - 6.2-1 - updating to 6.2 * Fri Jul 26 2019 Fedora Release Engineering - 6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 08 2019 Dan Radez - 6.1-7 - fixing egg info * Mon Apr 08 2019 Dan Radez - 6.1-6 - Updating doc reqs in prep to enable doc build * Fri Apr 05 2019 Dan Radez - 6.1-5 - fixing python-jaraco-packaging requires... again * Fri Apr 05 2019 Dan Radez - 6.1-4 - fixing python-jaraco-packaging requires. * Fri Apr 05 2019 Dan Radez - 6.1-3 - adding python-jaraco subpackage. * Fri Apr 05 2019 Dan Radez - 6.1-2 - adding py3 subpackage. * Tue Apr 02 2019 Dan Radez - 6.1-1 - Initial package. ## END: Generated by rpmautospec