mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 18:15:25 +00:00
Ensure to prefix %{buildroot} when overriding systemd install location
The %makeinstall macro does not set DESTDIR, instead of explicitly prefixes %{buildroot} onto all paths. Thus we need to do the same when setting the systemd unit dir * libvirt.spec.in: Prefix %{buildroot} onto %{unitdir}
This commit is contained in:
parent
608786fc52
commit
011a3350be
@ -776,7 +776,7 @@ gzip -9 ChangeLog
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
|
||||
%makeinstall SYSTEMD_UNIT_DIR=%{_unitdir}
|
||||
%makeinstall SYSTEMD_UNIT_DIR=%{buildroot}%{_unitdir}
|
||||
for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
|
||||
do
|
||||
(cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
|
||||
|
Loading…
Reference in New Issue
Block a user