From 5e5734dc7e0662591c02815c8dc7a081c62be884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 15 Feb 2021 13:53:15 +0100 Subject: [PATCH] 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(). --- rpmdevtools.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/rpmdevtools.spec b/rpmdevtools.spec index 3fc6419..6c27e38 100644 --- a/rpmdevtools.spec +++ b/rpmdevtools.spec @@ -1,6 +1,6 @@ Name: rpmdevtools Version: 9.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: RPM Development Tools # rpmdev-setuptree is GPLv2, everything else GPLv2+ @@ -43,10 +43,10 @@ Requires: findutils Requires: gawk Requires: grep Requires: rpm-build >= 4.4.2.3 -Requires: python%{python3_version}dist(argcomplete) -Requires: python%{python3_version}dist(progressbar2) -Requires: python%{python3_version}dist(requests) -Requires: python%{python3_version}dist(rpm) +Requires: python3dist(argcomplete) +Requires: python3dist(progressbar2) +Requires: python3dist(requests) +Requires: python3dist(rpm) Requires: sed Requires: emacs-filesystem %if 0%{?fedora} @@ -120,6 +120,9 @@ echo ".so man1/rpmdev-spectool.1" > %{buildroot}%{_mandir}/man1/spectool.1 %changelog +* Mon Feb 15 2021 Miro HronĨok - 9.3-5 +- Require any Python version of the Python packages + * Wed Jan 27 2021 Fedora Release Engineering - 9.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild