public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - adjust find-debuginfo for "file" output change (#468129)
@ 2026-11-23  9:25 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:25 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:25 [rpms/rpm] pmatilai-v6: - adjust find-debuginfo for "file" output change (#468129) Panu Matilainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox