|
|
|
@ -5,7 +5,7 @@ a "user data dir".}
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 2.3.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Python module for determining appropriate platform-specific dirs
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/platformdirs/platformdirs
|
|
|
|
@ -31,7 +31,7 @@ BuildRequires: python3-devel
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
# Upstream uses tox, but we don't use it, to avoid a build dependency loop
|
|
|
|
|
# platformdirs <- virtualenv <- tox
|
|
|
|
|
%pyproject_buildrequires -r
|
|
|
|
|
%pyproject_buildrequires -x test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -44,7 +44,7 @@ BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{python3} -m unittest discover
|
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
|
|
@ -53,6 +53,10 @@ BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 04 2021 Carl George <carl@george.computer> - 2.3.0-3
|
|
|
|
|
- Use "test" extra to generate buildrequires
|
|
|
|
|
- Run tests with %%pytest
|
|
|
|
|
|
|
|
|
|
* Tue Oct 26 2021 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-2
|
|
|
|
|
- Don't use tox during the build to avoid a build dependency loop
|
|
|
|
|
|
|
|
|
|