|
|
@ -4,14 +4,13 @@ A small Python module for determining appropriate platform-specific dirs, e.g.
|
|
|
|
a "user data dir".}
|
|
|
|
a "user data dir".}
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 2.0.0
|
|
|
|
Version: 2.2.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Python module for determining appropriate platform-specific dirs
|
|
|
|
Summary: Python module for determining appropriate platform-specific dirs
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/platformdirs/platformdirs
|
|
|
|
URL: https://github.com/platformdirs/platformdirs
|
|
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
Source0: %pypi_source
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{common_description}
|
|
|
|
%description %{common_description}
|
|
|
@ -28,11 +27,6 @@ BuildRequires: python3-devel
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
%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
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires -t
|
|
|
|
%pyproject_buildrequires -t
|
|
|
@ -57,6 +51,10 @@ sed -Ei 's|\b(https://github\.com/ActiveState/appdirs/archive)|appdirs@\1|' tox.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Aug 01 2021 Carl George <carl@george.computer> - 2.2.0-1
|
|
|
|
|
|
|
|
- Latest upstream
|
|
|
|
|
|
|
|
- Resolves: rhbz#1985567
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-3
|
|
|
|
* Fri Jul 23 2021 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-3
|
|
|
|
- Let %%pyproject_buildrequires know we need appdirs
|
|
|
|
- Let %%pyproject_buildrequires know we need appdirs
|
|
|
|
|
|
|
|
|
|
|
|