public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Revert "Band-aid for python library versioning inadequacies (#1435135)"
@ 2026-11-23 9:31 Igor Gnatenko
0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-11-23 9:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 85793f40483d99b60c0586a1aa529533e05c2a12
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2017-07-20T15:32:47+02:00
Stats : +4/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/85793f40483d99b60c0586a1aa529533e05c2a12?branch=pmatilai-v6
Log:
Revert "Band-aid for python library versioning inadequacies (#1435135)"
It's not needed anymore and requires rebuilding RPM each time python updates.
This reverts commit fca9dfc3c765ce32da43d44b7e81542baf451659.
---
diff --git a/rpm.spec b/rpm.spec
index de03735..0c4cc61 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -15,10 +15,6 @@
# build with new db format
%bcond_with ndb
-%define pyver_cmd "import sys; sys.stdout.write('= %s' % sys.version.split(' ')[0])"
-%define py2_fullver %(%{__python2} -c %{pyver_cmd})
-%define py3_fullver %(%{__python3} -c %{pyver_cmd})
-
%define rpmhome /usr/lib/rpm
%global rpmver 4.13.0.1
@@ -33,7 +29,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}32%{?dist}
+Release: %{?snapver:0.%{snapver}.}33%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://ftp.rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
@@ -312,7 +308,6 @@ BuildRequires: python2-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: %{name}-python = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
-Requires: python2-libs%{?_isa} %{py2_fullver}
%description -n python2-%{name}
The python2-rpm package contains a module that permits applications
@@ -331,7 +326,6 @@ BuildRequires: python3-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: %{name}-python3 = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release}
-Requires: system-python-libs%{?_isa} %{py3_fullver}
%description -n python3-%{name}
The python3-rpm package contains a module that permits applications
@@ -649,6 +643,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Thu Jul 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.13.0.1-33
+- Remove strict requirement on python libs
+
* Tue Jul 18 2017 Mark Wielaard <mjw@fedoraproject.org> - 4.13.0.1-32
- Add find-debuginfo.sh: Add --keep-section and --remove-section (#1465997)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:31 [rpms/rpm] pmatilai-v6: Revert "Band-aid for python library versioning inadequacies (#1435135)" Igor Gnatenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox