another attempt to fix tmpfiles lib dir
This commit is contained in:
parent
d5d5a96751
commit
c7e201db59
@ -116,6 +116,10 @@ or more physical volumes and creating one or more logical volumes
|
||||
%define configure_udev --with-udevdir=%{_udevdir} --enable-udev_sync
|
||||
%endif
|
||||
|
||||
%if %{enable_systemd}
|
||||
%define _tmpfilesdir %{_prefix}/lib/tmpfiles.d
|
||||
%endif
|
||||
|
||||
%if %{enable_thin}
|
||||
%define configure_thin --with-thin=internal --with-thin-check=%{_sbindir}/thin_check
|
||||
%endif
|
||||
@ -309,7 +313,7 @@ fi
|
||||
%dir %{_default_locking_dir}
|
||||
%dir %{_default_run_dir}
|
||||
%if %{enable_systemd}
|
||||
%config(noreplace) %{_libdir}/tmpfiles.d/%{name}.conf
|
||||
%config(noreplace) %{_tmpfilesdir}/%{name}.conf
|
||||
%{_unitdir}/lvm2-monitor.service
|
||||
%if %{enable_lvmetad}
|
||||
%{_unitdir}/lvm2-lvmetad.socket
|
||||
|
Loading…
Reference in New Issue
Block a user