summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungGi Lee <hyunggi.lee@samsung.com>2015-12-14 14:11:32 +0900
committerHyungGi Lee <hyunggi.lee@samsung.com>2015-12-14 14:16:49 +0900
commit83352feebb626bb753ef34d259e1e83569733f3d (patch)
treef1e5640b268475ebebe24ee8c6b596d3f37d1ec7
parentdc3000f449cb515308887213bed49e633b4c79bb (diff)
downloadqemu-accel-83352feebb626bb753ef34d259e1e83569733f3d.tar.gz
qemu-accel-83352feebb626bb753ef34d259e1e83569733f3d.tar.bz2
qemu-accel-83352feebb626bb753ef34d259e1e83569733f3d.zip
/usr/lib/rpm/brp-strip-static-archive is using /usr/bin/file Change-Id: I562639141972959f8f13d49d380be04e4a454256 Signed-off-by: HyungGi Lee <hyunggi.lee@samsung.com>
-rw-r--r--packaging/qemu-accel-aarch64.spec4
-rw-r--r--packaging/qemu-accel-armv7l.spec4
-rw-r--r--packaging/qemu-accel.spec.in4
3 files changed, 9 insertions, 3 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index d700238..ea3ec72 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -66,6 +66,7 @@ BuildRequires: python-magic
BuildRequires: python-rpm
BuildRequires: findutils
BuildRequires: diffutils
+BuildRequires: file
Requires: coreutils
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -155,7 +156,8 @@ for executable in $LD \
/usr/bin/{ccmake,cmake,cpack,ctest} \
/usr/bin/{find,xargs} \
/usr/bin/{cmp,diff,diff3,sdiff} \
- /usr/bin/cpio
+ /usr/bin/cpio \
+ /usr/bin/file
do
binaries="$binaries $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index 70c6835..a750dda 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -66,6 +66,7 @@ BuildRequires: python-magic
BuildRequires: python-rpm
BuildRequires: findutils
BuildRequires: diffutils
+BuildRequires: file
Requires: coreutils
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -155,7 +156,8 @@ for executable in $LD \
/usr/bin/{ccmake,cmake,cpack,ctest} \
/usr/bin/{find,xargs} \
/usr/bin/{cmp,diff,diff3,sdiff} \
- /usr/bin/cpio
+ /usr/bin/cpio \
+ /usr/bin/file
do
binaries="$binaries $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index e2ca932..40927f1 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -66,6 +66,7 @@ BuildRequires: python-magic
BuildRequires: python-rpm
BuildRequires: findutils
BuildRequires: diffutils
+BuildRequires: file
Requires: coreutils
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -155,7 +156,8 @@ for executable in $LD \
/usr/bin/{ccmake,cmake,cpack,ctest} \
/usr/bin/{find,xargs} \
/usr/bin/{cmp,diff,diff3,sdiff} \
- /usr/bin/cpio
+ /usr/bin/cpio \
+ /usr/bin/file
do
binaries="$binaries $executable `ldd $executable | sed -n 's,.*=> \(/[^ ]*\) .*,\1,p'`"
done