Require any Python version of the Python packages

When we update Python, rpmdevtools should not need a rebuild.
They install to Python version agnostic directories.

Hence, they need python3dist() packages, not python3.Xdist().
This commit is contained in:
Miro Hrončok 2021-02-15 13:53:15 +01:00
parent 4ae7f0e5c8
commit 5e5734dc7e

View File

@ -1,6 +1,6 @@
Name: rpmdevtools Name: rpmdevtools
Version: 9.3 Version: 9.3
Release: 4%{?dist} Release: 5%{?dist}
Summary: RPM Development Tools Summary: RPM Development Tools
# rpmdev-setuptree is GPLv2, everything else GPLv2+ # rpmdev-setuptree is GPLv2, everything else GPLv2+
@ -43,10 +43,10 @@ Requires: findutils
Requires: gawk Requires: gawk
Requires: grep Requires: grep
Requires: rpm-build >= 4.4.2.3 Requires: rpm-build >= 4.4.2.3
Requires: python%{python3_version}dist(argcomplete) Requires: python3dist(argcomplete)
Requires: python%{python3_version}dist(progressbar2) Requires: python3dist(progressbar2)
Requires: python%{python3_version}dist(requests) Requires: python3dist(requests)
Requires: python%{python3_version}dist(rpm) Requires: python3dist(rpm)
Requires: sed Requires: sed
Requires: emacs-filesystem Requires: emacs-filesystem
%if 0%{?fedora} %if 0%{?fedora}
@ -120,6 +120,9 @@ echo ".so man1/rpmdev-spectool.1" > %{buildroot}%{_mandir}/man1/spectool.1
%changelog %changelog
* Mon Feb 15 2021 Miro Hrončok <mhroncok@redhat.com> - 9.3-5
- Require any Python version of the Python packages
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-4 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild