SHA256
1
0
forked from pool/libvirt

- spec: Only drop redefinition of libexecdir on Factory and newer

bsc#1203775

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=947
This commit is contained in:
2022-09-27 22:39:17 +00:00
committed by Git OBS Bridge
parent 7d65547753
commit a3df6bd816
2 changed files with 13 additions and 0 deletions

View File

@@ -972,7 +972,14 @@ libvirt plugin for NSS for translating domain names into IP addresses.
%define libvirt_logrotate_posttrans() %nil
%endif
# The libvirt package has long redefined libexecdir. Stop the madness at SLE15.
# Factory and newer will use the product default for libexecdir
%if 0%{?suse_version} <= 1500
%define _libexecdir %{_libdir}/%{name}
%endif
%meson \
--libexecdir=%{_libexecdir} \
-Drunstatedir=%{_rundir} \
%{?arg_qemu} \
%{?arg_openvz} \