From 1da552416d8bab4e0cee098c81520a7e99430e0f10c4bd994b7390ee285e7b69 Mon Sep 17 00:00:00 2001 From: Caleb Crane Date: Mon, 26 Feb 2024 14:37:03 +0000 Subject: [PATCH] - Spec: We don't want /usr/libexec to be namespaced like it is with /usr/lib (bsc#1220304) OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtiofsd?expand=0&rev=18 --- virtiofsd.changes | 5 +++++ virtiofsd.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/virtiofsd.changes b/virtiofsd.changes index 8a7a342..420b551 100644 --- a/virtiofsd.changes +++ b/virtiofsd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 14:16:30 UTC 2024 - Caleb Crane + +- Spec: We don't want /usr/libexec to be namespaced like it is with /usr/lib (bsc#1220304) + ------------------------------------------------------------------- Thu Feb 22 03:02:23 UTC 2024 - Caleb Crane diff --git a/virtiofsd.spec b/virtiofsd.spec index 16c5d76..ef3c0bf 100644 --- a/virtiofsd.spec +++ b/virtiofsd.spec @@ -16,6 +16,11 @@ # +%define _virtiofsd_dir %{_libexecdir} +%if 0%{?suse_version} <= 1500 + %define _virtiofsd_dir %{_libdir}/%{name} +%endif + Name: virtiofsd Version: 1.10.1 Release: 0 @@ -36,8 +41,6 @@ ExcludeArch: %ix86 %arm %description A vhost-user virtio-fs device backend written in Rust -%define _virtiofsd_dir %{_libexecdir}/%{name} - %prep %autosetup -a1 mkdir .cargo