Accepting request 197509 from Base:System

- brp-compress-no-img.patch: don't compress image files (forwarded request 197506 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/197509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=211
This commit is contained in:
Stephan Kulow 2013-09-08 11:03:37 +00:00 committed by Git OBS Bridge
commit a6b0153563
3 changed files with 17 additions and 1 deletions

10
brp-compress-no-img.patch Normal file
View File

@ -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\)$//'`;;

View File

@ -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

View File

@ -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