- 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:
James Fehlig 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

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 27 22:36:37 UTC 2022 - James Fehlig <jfehlig@suse.com>
- spec: Only drop redefinition of libexecdir on Factory and newer
bsc#1203775
-------------------------------------------------------------------
Thu Sep 15 12:16:26 UTC 2022 - Stefan Schubert <schubi@suse.com>

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} \