summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel-aarch64.spec
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2020-11-23 10:54:43 +0900
committerbiao716.wang <biao716.wang@samsung.com>2021-01-05 16:50:33 +0900
commitec1050c85f0bc8879cfc24589669023f3eb9013f (patch)
tree1e6702e3a0962a723c84ad2a3892605e3955904d /packaging/qemu-accel-aarch64.spec
parentd2e29bb724ad518ecf564da46048e2d8358d72eb (diff)
downloadqemu-accel-ec1050c85f0bc8879cfc24589669023f3eb9013f.tar.gz
qemu-accel-ec1050c85f0bc8879cfc24589669023f3eb9013f.tar.bz2
qemu-accel-ec1050c85f0bc8879cfc24589669023f3eb9013f.zip
Change-Id: Ie91906c49ea86ea74270a58cc65d930f03f20721 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Diffstat (limited to 'packaging/qemu-accel-aarch64.spec')
-rw-r--r--packaging/qemu-accel-aarch64.spec18
1 files changed, 10 insertions, 8 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index cfa953f..84e6ca2 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.spec
@@ -178,8 +178,10 @@ binaries="%{_libdir}/libnsl.so.1 %{_libdir}/libnss_compat.so.2" # loaded via dlo
for executable in $LD \
$BASH_EXECUTABLE \
- %{_bindir}/{rpm,rpm2cpio,rpmdb,rpmkeys,rpmqpack,rpmbuild,rpmsign,rpmspec} \
- %{_libdir}/rpm-plugins/exec.so \
+ %{_bindir}/{rpm,rpm2cpio,rpmdb,rpmkeys,rpmqpack,rpmbuild,rpmsign,rpmspec,rpm2archive} \
+ %{_libdir}/rpm-plugins/ima.so \
+ %{_libdir}/rpm-plugins/prioreset.so \
+ %{_libdir}/rpm-plugins/syslog.so \
%{_libdir}/{libdb-4.8.so,libdb_cxx-4.8.so} \
%{_bindir}/{tar,gzip,bzip2,xz,xzdec} \
%{_bindir}/{grep,sed} \
@@ -540,6 +542,12 @@ sed -e 's|^|%{emul_path}|;s|%{emul_path}/%{_lib}|%{emul_path}%{_libdir}|' clang.
# Remove common files from clang-accel
comm -13 %{_sourcedir}/qemu-accel.list clang-full.list > %{_sourcedir}/clang-accel.list
+#Fix build error with rpm 4.14.1:#Not a directory
+# Add symlinks to qemu-accel packaging
+echo '%{emul_path}/bin' >> %{_sourcedir}/qemu-accel.list
+echo '%{emul_path}/%{_lib}' >> %{_sourcedir}/qemu-accel.list
+%{?multilib:echo '%{emul_path}/lib' >> %{_sourcedir}/qemu-accel.list}
+
%fdupes %{buildroot}
%filter_provides_in %{emul_path}
@@ -558,12 +566,6 @@ ldconfig
%files -f %{_sourcedir}/qemu-accel.list
%defattr(-,root,root)
%exclude %{emul_path}%{py_libdir}/*
-# Add symlinks to qemu-accel packaging
-%dir %{emul_path}/bin
-%dir %{emul_path}/%{_lib}
-%{?multilib:
- %dir %{emul_path}/lib
-}
%files -n python-accel -f %{_sourcedir}/python-accel.list
%defattr(-,root,root)