From e074aa10997d9c38a157d7bc790f6e15d3a59ad7 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Fri, 28 Sep 2018 12:22:02 +0800 Subject: [PATCH] spec: add kata-netmon to rpm spec So that it is included in the package. Signed-off-by: Peng Tao --- obs-packaging/runtime/kata-runtime.spec-template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/obs-packaging/runtime/kata-runtime.spec-template b/obs-packaging/runtime/kata-runtime.spec-template index 9d676e7ece..0858b342e4 100644 --- a/obs-packaging/runtime/kata-runtime.spec-template +++ b/obs-packaging/runtime/kata-runtime.spec-template @@ -8,11 +8,7 @@ %global DEFAULT_QEMU qemu-lite-system-x86_64 -%if 0%{?suse_version} -%define LIBEXECDIR %{_libdir} -%else -%define LIBEXECDIR %{_libexecdir} -%endif +%define LIBEXECDIR /usr/libexec %undefine _missing_build_ids_terminate_build %define debug_package %{nil} @@ -96,6 +92,9 @@ sed -i -e '/^initrd =/d' %{buildroot}/usr/share/defaults/kata-containers/configu %files %defattr(-,root,root,-) /usr/bin/kata-runtime +%{LIBEXECDIR} +%{LIBEXECDIR}/kata-containers +%{LIBEXECDIR}/kata-containers/kata-netmon /usr/bin/kata-collect-data.sh /usr/share/defaults/ /usr/share/defaults/kata-containers/