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 noarch __isa_* macro filter in installplatform (#865436)
Date: Mon, 23 Nov 2026 09:27:58 GMT [thread overview]
Message-ID: <179542607871.1.16887836141596368724.rpms-rpm-25a06f20fed4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 25a06f20fed4480491e2c20f558e8507c525663e
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2012-10-11T18:03:15+03:00
Stats : +31/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/25a06f20fed4480491e2c20f558e8507c525663e?branch=pmatilai-v6
Log:
- fix noarch __isa_* macro filter in installplatform (#865436)
---
diff --git a/rpm-4.10.1-noarch-isa.patch b/rpm-4.10.1-noarch-isa.patch
new file mode 100644
index 0000000..00337cd
--- /dev/null
+++ b/rpm-4.10.1-noarch-isa.patch
@@ -0,0 +1,25 @@
+commit 90dd51743200055f30d9e0e0337173118b4ae756
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date: Thu Oct 11 17:57:10 2012 +0300
+
+ Fix noarch __isa_* macro filter in installplatform (RhBug:865436)
+
+ - The filter wasn't doing what it was supposed to due to extra single
+ quotes getting inserted, causing "rpmbuild --target noarch foo.spec"
+ to whine about empty macro bodies. This is a regression introduced
+ in rpm 4.10, commit 07ec480c180e4005a629242b8f9f8ab640e3e950 to be
+ precise.
+
+diff --git a/installplatform b/installplatform
+index f7ae241..a68b3c0 100755
+--- a/installplatform
++++ b/installplatform
+@@ -104,7 +104,7 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
+ noarch)
+ CANONARCH=noarch
+ CANONCOLOR=0
+- FILTER="grep -v -E '^(%optflag|%__isa)'"
++ FILTER="grep -v -E ^(%optflag|%__isa)"
+ ;;
+ esac
+
diff --git a/rpm.spec b/rpm.spec
index 79b216c..5757e18 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}2%{?dist}
+Release: %{?snapver:0.%{snapver}.}3%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.10.x/%{name}-%{srcver}.tar.bz2
@@ -46,6 +46,7 @@ Patch6: rpm-4.9.0-armhfp-logic.patch
# Patches already in upstream
Patch100: rpm-4.10.1-skipped-hardlinks.patch
+Patch101: rpm-4.10.1-noarch-isa.patch
# These are not yet upstream
Patch301: rpm-4.6.0-niagara.patch
@@ -220,6 +221,7 @@ packages on a system.
%patch4 -p1 -b .use-gpg2
%patch100 -p1 -b .skipped-hardlinks
+%patch101 -p1 -b .noarch-isa
%patch301 -p1 -b .niagara
%patch302 -p1 -b .geode
@@ -451,6 +453,9 @@ exit 0
%doc COPYING doc/librpm/html/*
%changelog
+* Thu Oct 11 2012 Panu Matilainen <pmatilai@redhat.com> - 4.10.1-3
+- fix noarch __isa_* macro filter in installplatform (#865436)
+
* Wed Oct 10 2012 Panu Matilainen <pmatilai@redhat.com> - 4.10.1-2
- account for intentionally skipped files when verifying hardlinks (#864622)
reply other threads:[~2026-11-23 9:27 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=179542607871.1.16887836141596368724.rpms-rpm-25a06f20fed4@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