]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpm: remove rpath from rpms
authorDaniel Letai <dani@letai.org.il>
Tue, 13 Oct 2020 10:11:49 +0000 (11:11 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 13 Oct 2020 10:27:27 +0000 (11:27 +0100)
The rpath improvements in:

  commit 69980ab798e240923ef12f86a92665b6c9ff7292
  Author: Andrea Bolognani <abologna@redhat.com>
  Date:   Wed Aug 19 11:15:35 2020 +0200

    meson: Improve RPATH handling

missed that Fedora's %meson macro sets --auto-features=enabled, thus
force enabling rpath in the RPM build. Thus we need to explicitly
disable it

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel Letai <dani@letai.org.il>
libvirt.spec.in

index edf919d7bacdb6139ac66cd1b6a266fcf3573cc9..2bd4784d0f1eeb40f1e1fb36a0b06eaf8ecb6338 100644 (file)
@@ -1184,6 +1184,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/%{name}.spec)
            -Dinit_script=systemd \
            -Ddocs=enabled \
            -Dtests=enabled \
+           -Drpath=disabled \
            %{?arg_login_shell}
 
 %meson_build