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 base arch macro generation (#808250)
Date: Mon, 23 Nov 2026 09:27:43 GMT	[thread overview]
Message-ID: <179542606365.1.3882521051172437543.rpms-rpm-f097c8059c7b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : f097c8059c7b4dea750e75909eb7351b939fe831
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2012-03-30T10:08:08+03:00
Stats  : +30/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/f097c8059c7b4dea750e75909eb7351b939fe831?branch=pmatilai-v6

Log:
- fix base arch macro generation (#808250)

---
diff --git a/rpm-4.9.90-canonarch.patch b/rpm-4.9.90-canonarch.patch
new file mode 100644
index 0000000..3883517
--- /dev/null
+++ b/rpm-4.9.90-canonarch.patch
@@ -0,0 +1,24 @@
+commit 2e5d83e3d1a27044ee59f13f66b06e9011d1ac9f
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date:   Fri Mar 30 09:56:43 2012 +0300
+
+    Axe leftover CANONARCH assignment messing up our "base" archs (RhBug:808250)
+    
+    - This should've been in commit 2a8d03669732f68f02fa7b21ec87ee3f65d11e5b,
+      the leftover CANONARCH resets the "base arch" we just set to a wrong
+      value.
+    (cherry picked from commit 7c39c65da4b1b012061ffbac179a650643d00ba9)
+
+diff --git a/installplatform b/installplatform
+index c56d5665..f7ae241 100755
+--- a/installplatform
++++ b/installplatform
+@@ -111,8 +111,6 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
+   # skip architectures for which we dont have full config parameters
+   [ -z "$CANONARCH" ] && continue
+ 
+-  CANONARCH="`echo $ARCH|sed -e "$canonarch_sed"`"
+-
+   if [ "$OS" = "linux" ] && [ "$CANONCOLOR" = 3 ]; then
+       LIB=${LIB}64
+   fi

diff --git a/rpm.spec b/rpm.spec
index 794d50a..e1e1ae4 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -22,7 +22,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}9%{?dist}
+Release: %{?snapver:0.%{snapver}.}10%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -49,6 +49,7 @@ Patch201: rpm-4.9.90-rpmte-fileinfo-2.patch
 Patch202: rpm-4.9.90-keyid-size.patch
 Patch203: rpm-4.9.90-header-datalength.patch
 Patch204: rpm-4.9.90-rpmdeps-args.patch
+Patch205: rpm-4.9.90-canonarch.patch
 
 # These are not yet upstream
 Patch301: rpm-4.6.0-niagara.patch
@@ -223,6 +224,7 @@ packages on a system.
 %patch202 -p1 -b .keyid-size
 %patch203 -p1 -b .header-datalength
 %patch204 -p1 -b .rpmdeps-args
+%patch205 -p1 -b .canonarch
 
 %patch301 -p1 -b .niagara
 %patch302 -p1 -b .geode
@@ -449,6 +451,9 @@ exit 0
 %doc COPYING doc/librpm/html/*
 
 %changelog
+* Fri Mar 30 2012 Panu Matilainen <pmatilai@redhat.com> - 4.9.90-0.git11505.10
+- fix base arch macro generation (#808250)
+
 * Thu Mar 29 2012 Panu Matilainen <pmatilai@redhat.com> - 4.9.90-0.git11505.9
 - accept files as command line arguments to rpmdeps again (#807767)
  

                 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=179542606365.1.3882521051172437543.rpms-rpm-f097c8059c7b@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