BuildRequire setuptools explicitly

See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools

Resolves: rhbz#1951150
This commit is contained in:
Tomas Hrnciar 2021-04-19 13:18:32 +02:00 committed by Tomas Popela
parent b3c1085ee5
commit 399b536653

View File

@ -1,6 +1,6 @@
Name: pyxdg
Version: 0.27
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python library to access freedesktop.org standards
License: LGPLv2
URL: http://freedesktop.org/Software/pyxdg
@ -19,6 +19,7 @@ PyXDG is a python library to access freedesktop.org standards.
%package -n python%{python3_pkgversion}-pyxdg
Summary: Python3 library to access freedesktop.org standards
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%if %{with check}
# These are needed for the nose tests.
BuildRequires: python%{python3_pkgversion}-nose
@ -50,6 +51,9 @@ nosetests-%{python3_version} || :
%{python3_sitelib}/pyxdg-*.egg-info
%changelog
* Mon May 24 2021 Tomas Popela <tpopela@redhat.com> - 0.27-2
- Backport a rawhide patch to fix the gating tests
* Fri May 14 2021 Kalev Lember <klember@redhat.com> - 0.27-1
- update to 0.27