diff --git a/python-platformdirs.spec b/python-platformdirs.spec index 00e59e7..5f6175e 100644 --- a/python-platformdirs.spec +++ b/python-platformdirs.spec @@ -4,14 +4,13 @@ A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".} Name: python-%{srcname} -Version: 2.0.0 -Release: 3%{?dist} +Version: 2.2.0 +Release: 1%{?dist} Summary: Python module for determining appropriate platform-specific dirs License: MIT URL: https://github.com/platformdirs/platformdirs -Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz +Source0: %pypi_source BuildArch: noarch -BuildRequires: pyproject-rpm-macros %description %{common_description} @@ -28,11 +27,6 @@ BuildRequires: python3-devel %prep %autosetup -n %{srcname}-%{version} -# from https://github.com/platformdirs/platformdirs/pull/16 -# can be removed with 2.0.3+ -# let the buildrequires generator know what package is this: -sed -Ei 's|\b(https://github\.com/ActiveState/appdirs/archive)|appdirs@\1|' tox.ini - %generate_buildrequires %pyproject_buildrequires -t @@ -57,6 +51,10 @@ sed -Ei 's|\b(https://github\.com/ActiveState/appdirs/archive)|appdirs@\1|' tox. %changelog +* Sun Aug 01 2021 Carl George - 2.2.0-1 +- Latest upstream +- Resolves: rhbz#1985567 + * Fri Jul 23 2021 Miro HronĨok - 2.0.0-3 - Let %%pyproject_buildrequires know we need appdirs diff --git a/sources b/sources index 187aaf0..7cfef3f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (platformdirs-2.0.0.tar.gz) = 751803e1e4fe38abcf04d9302683ac29d9e3326c08a7a6159fca6f5e37e601bc1f51de15699b29781b684421d4074c27cd824a3fac6c149b8bdaab7eae9aa22a +SHA512 (platformdirs-2.2.0.tar.gz) = 9822b7602aad04a0f5e8540a470c4e935ac6cd975b4f12c919f0ccba8395d7516764c764dea043e47e6f4e79d21afe049aa7f1ea57a9c9f67c83ed4decb82a67