summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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