From e055b19e3c458ab8ec79de00eee890ea5018b9f3a7ec23a9ffacc5f19e48c513 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 5 Sep 2013 14:43:27 +0000 Subject: [PATCH] Accepting request 197506 from home:AndreasSchwab:ff - brp-compress-no-img.patch: don't compress image files OBS-URL: https://build.opensuse.org/request/show/197506 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=288 --- brp-compress-no-img.patch | 10 ++++++++++ rpm.changes | 5 +++++ rpm.spec | 3 ++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 brp-compress-no-img.patch diff --git a/brp-compress-no-img.patch b/brp-compress-no-img.patch new file mode 100644 index 0000000..9419923 --- /dev/null +++ b/brp-compress-no-img.patch @@ -0,0 +1,10 @@ +--- scripts/brp-compress 2013-09-02 19:00:09.000000000 +0200 ++++ scripts/brp-compress 2013-09-02 19:03:12.000000000 +0200 +@@ -47,6 +47,7 @@ do + find $d -type f ! -name dir | while read f + do + [ -f "$f" ] || continue ++ case $(file "$f") in *"image data"*) continue;; esac + + case "$f" in + *.gz|*.Z) gunzip "$f" || check_for_hard_link $d "$f"; b=`echo $f | sed -e 's/\.\(gz\|Z\)$//'`;; diff --git a/rpm.changes b/rpm.changes index 7332e3e..00280b7 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 5 12:01:51 UTC 2013 - schwab@linux-m68k.org + +- brp-compress-no-img.patch: don't compress image files + ------------------------------------------------------------------- Thu Aug 29 17:49:27 CEST 2013 - mls@suse.de diff --git a/rpm.spec b/rpm.spec index 6a6cc86..a8d9695 100644 --- a/rpm.spec +++ b/rpm.spec @@ -136,6 +136,7 @@ Patch81: getauxval.diff Patch82: noposttrans.diff Patch83: debug_gdb_scripts.diff Patch84: beedigest.diff +Patch85: brp-compress-no-img.patch Patch6464: auto-config-update-aarch64.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build # @@ -222,7 +223,7 @@ rm -f rpmdb/db.h %patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59 %patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69 %patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79 -%patch -P 80 -P 81 -P 82 -P 83 -P 84 +%patch -P 80 -P 81 -P 82 -P 83 -P 84 -P 85 %ifarch aarch64 %patch6464 %endif