## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 15; 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-jaraco-path Version: 3.3.1 Release: %autorelease Summary: Miscellaneous path functions License: MIT URL: https://github.com/jaraco/jaraco.path Source0: https://github.com/jaraco/jaraco.path/archive/v%{version}/jaraco.path-%{version}.tar.gz # We do not have a correct version of singledispatch in Fedora that jaraco.path needs. # Instead of backporting and updating singledispatch it is better to not to use # it at all and use functools from the standard library with Python 3.7 and higher. # Upstream PR: https://github.com/jaraco/jaraco.path/pull/1 Patch1: https://github.com/jaraco/jaraco.path/pull/1.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros >= 0-41 BuildRequires: pytest %global _description %{expand: jaraco.path provides cross platform hidden file detection} %description %_description %package -n python3-jaraco-path Summary: %{summary} Requires: python3-jaraco %description -n python3-jaraco-path %_description %prep %autosetup -p1 -n jaraco.path-%{version} %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires -r %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install %pyproject_install %pyproject_save_files jaraco %check %pytest %files -n python3-jaraco-path -f %{pyproject_files} %license LICENSE %doc README.rst %exclude %dir %{python3_sitelib}/jaraco %exclude %dir %{python3_sitelib}/jaraco/__pycache__ %pycached %exclude %{python3_sitelib}/jaraco/__init__.py %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.3.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.3.1-14 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.3.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 3.3.1-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 3.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.3.1-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 3.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.3.1-2 - Rebuilt for Python 3.10 * Tue Mar 02 2021 Tomas Hrnciar - 3.3.1-1 - Initial package ## END: Generated by rpmautospec