public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Revert "Band-aid for python library versioning inadequacies (#1435135)"
Date: Mon, 23 Nov 2026 09:31:13 GMT	[thread overview]
Message-ID: <179542627303.1.8830874286936699569.rpms-rpm-85793f40483d@fedoraproject.org> (raw)

            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)
 

                 reply	other threads:[~2026-11-23  9:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542627303.1.8830874286936699569.rpms-rpm-85793f40483d@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox