[libvirt PATCH 2/2] spec: Disable RPATH

Andrea Bolognani abologna at redhat.com
Wed Aug 19 10:18:08 UTC 2020


Neither Fedora nor RHEL seem to include RPATH information in
the binaries and libraries they currently ship, so let's make
sure RPMs built from upstream sources match that behavior.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 libvirt.spec.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index e64cfdb561..2a5b930de1 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1132,6 +1132,7 @@ exit 1
 export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/%{name}.spec)
 
 %meson \
+           -Drpath=false \
            -Drunstatedir=%{_rundir} \
            %{?arg_qemu} \
            %{?arg_openvz} \
-- 
2.26.2




More information about the libvir-list mailing list