public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - adjust find-debuginfo for "file" output change (#468129)
Date: Mon, 23 Nov 2026 09:25:16 GMT [thread overview]
Message-ID: <179542591645.1.16037745601125114313.rpms-rpm-97c9ccbfec70@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 97c9ccbfec701dd1ce186480f45ef4867388a035
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2008-10-31T08:22:48+00:00
Stats : +26/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/97c9ccbfec701dd1ce186480f45ef4867388a035?branch=pmatilai-v6
Log:
- adjust find-debuginfo for "file" output change (#468129)
---
diff --git a/rpm-4.6.0-rc1-file-debuginfo.patch b/rpm-4.6.0-rc1-file-debuginfo.patch
new file mode 100644
index 0000000..7530fc9
--- /dev/null
+++ b/rpm-4.6.0-rc1-file-debuginfo.patch
@@ -0,0 +1,20 @@
+commit 81660b26bc8e2c03f55cf928955f7ed84e00785a
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date: Fri Oct 31 10:17:07 2008 +0200
+
+ Adjust for file output change (rhbz#468129)
+ - file util used reported file details along with mime type, newer ones don't
+
+diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
+index 287c512..21366bf 100644
+--- a/scripts/find-debuginfo.sh
++++ b/scripts/find-debuginfo.sh
+@@ -90,7 +90,7 @@ strip_to_debug()
+ {
+ local g=
+ $strip_g && case "$(file -bi "$2")" in
+- application/x-sharedlib,*) g=-g ;;
++ application/x-sharedlib*) g=-g ;;
+ esac
+ eu-strip --remove-comment $g -f "$1" "$2" || exit
+ }
diff --git a/rpm.spec b/rpm.spec
index b2d80dd..b65281a 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 0.%{snapver}.6
+Release: 0.%{snapver}.7
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -38,6 +38,7 @@ Patch201: rpm-4.6.0-rc1-skip-equal-nevr.patch
Patch202: rpm-4.6.0-rc1-noarch-subpkg.patch
Patch203: rpm-4.6.0-rc1-defaultdocdir.patch
Patch204: rpm-4.6.0-rc1-fp-hash.patch
+Patch205: rpm-4.6.0-rc1-file-debuginfo.patch
# These are not yet upstream
Patch300: rpm-4.5.90-posttrans.patch
@@ -176,6 +177,7 @@ that will manipulate RPM packages and databases.
%patch202 -p1 -b .noarch-subpkg
%patch203 -p1 -b .defaultdocdir
%patch204 -p1 -b .fp-hash
+%patch205 -p1 -b .file-debuginfo
# needs a bit of upstream love first...
#%patch300 -p1 -b .posttrans
@@ -366,6 +368,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Fri Oct 31 2008 Panu Matilainen <pmatilai@redhat.com>
+- adjust find-debuginfo for "file" output change (#468129)
+
* Tue Oct 28 2008 Panu Matilainen <pmatilai@redhat.com>
- Florian's improved fingerprinting hash algorithm from upstream
reply other threads:[~2026-11-23 9:25 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=179542591645.1.16037745601125114313.rpms-rpm-97c9ccbfec70@fedoraproject.org \
--to=pmatilai@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