public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fix problems in previous commit, related to #1435135:
Date: Mon, 23 Nov 2026 09:30:51 GMT [thread overview]
Message-ID: <179542625121.1.6343991235979435869.rpms-rpm-b9ddc1fd3182@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : b9ddc1fd31822d0a81544698158eb09b604c847b
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2017-03-27T12:52:49+03:00
Stats : +8/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/b9ddc1fd31822d0a81544698158eb09b604c847b?branch=pmatilai-v6
Log:
Fix problems in previous commit, related to #1435135:
- Work around missing python[23] during build dependency parse
- Include ISA in the new python library version dependencies too
---
diff --git a/rpm.spec b/rpm.spec
index 31aa578..edf4cfc 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -15,7 +15,7 @@
# build with new db format
%bcond_with ndb
-%define pyver_cmd "import sys; sys.stdout.write(sys.version.split(' ')[0])"
+%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})
@@ -33,7 +33,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}16%{?dist}
+Release: %{?snapver:0.%{snapver}.}17%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
@@ -267,7 +267,7 @@ BuildRequires: python2-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: %{name}-python = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
-Requires: python2-libs = %{py2_fullver}
+Requires: python2-libs%{?_isa} %{py2_fullver}
%description -n python2-%{name}
The python2-rpm package contains a module that permits applications
@@ -286,7 +286,7 @@ BuildRequires: python3-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: %{name}-python3 = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release}
-Requires: system-python-libs = %{py3_fullver}
+Requires: system-python-libs%{?_isa} %{py3_fullver}
%description -n python3-%{name}
The python3-rpm package contains a module that permits applications
@@ -604,6 +604,10 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Mon Mar 27 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.0.1-17
+- Work around missing python[23] during build dependency parse
+- Include ISA in the new python library version dependencies too
+
* Mon Mar 27 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.0.1-16
- Band-aid for python library versioning inadequacies (#1435135)
reply other threads:[~2026-11-23 9:30 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=179542625121.1.6343991235979435869.rpms-rpm-b9ddc1fd3182@fedoraproject.org \
--to=pmatilai@redhat.com \
--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