diff --git a/python-platformdirs.spec b/python-platformdirs.spec index 9e3604c..1b20989 100644 --- a/python-platformdirs.spec +++ b/python-platformdirs.spec @@ -6,7 +6,7 @@ A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".} Name: python-%{srcname} -Version: 2.5.2 +Version: 2.5.4 Release: 1%{?dist} Summary: Python module for determining appropriate platform-specific dirs License: MIT @@ -34,9 +34,12 @@ BuildRequires: pyproject-rpm-macros >= 1.2.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters sed -r -i '/^[[:blank:]]*"pytest-cov\b/d' pyproject.toml +# Work with the test dependency versions we have in EPEL9: +sed -r -i 's/^([[:blank:]]*"(pytest.*|appdirs))[>~=]=.*"/\1"/' pyproject.toml + %generate_buildrequires -%pyproject_buildrequires -w %{?with_tests:-x test} +%pyproject_buildrequires %{?with_tests:-x test} %build @@ -59,11 +62,13 @@ sed -r -i '/^[[:blank:]]*"pytest-cov\b/d' pyproject.toml %files -n python3-%{srcname} -f %{pyproject_files} -%license LICENSE.txt %doc README.rst CHANGES.rst %changelog +* Wed Aug 02 2023 Benjamin A. Beasley - 2.5.4-1 +- Update to 2.5.4 (requires hatchling >=1.11.1) + * Thu Apr 21 2022 Benjamin A. Beasley - 2.5.2-1 - Update to 2.5.2; accommodate upstream’s switch to hatchling build backend - Add a build conditional for the tests diff --git a/sources b/sources index 5a2872c..bf2d931 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (platformdirs-2.5.2.tar.gz) = b0b0dee3ac4176e64f302b3d34e253b2e33784160051b9dafb563962e597df75f2c9f714c050d5bdeb1769a1f56c2878a47e9a42361596e287ae7b2afe870370 +SHA512 (platformdirs-2.5.4.tar.gz) = 1b7ff79a421bc0b0320a9b1ba8f99dbbecd34a9bea7fa7696b58007f2e05d8a910a3f32e2c03e6e3a8f3d272ab1c045051a682e3155c5bc5285e66e4add59489