spec: install tmpfiles configuration to /usr/lib/tmpfiles.d
https://fedoraproject.org/wiki/Packaging:Tmpfiles.d
This commit is contained in:
parent
06add1b054
commit
052748f271
@ -230,8 +230,8 @@ install -m644 %{zeb_rh_src}/quagga.pam $RPM_BUILD_ROOT/etc/pam.d/quagga
|
||||
install -m644 %{zeb_rh_src}/quagga.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/quagga
|
||||
install -d -m770 $RPM_BUILD_ROOT/var/run/quagga
|
||||
|
||||
install -d -m 755 $RPM_BUILD_ROOT/etc/tmpfiles.d
|
||||
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/tmpfiles.d/quagga.conf
|
||||
install -d -m 755 $RPM_BUILD_ROOT/%{_prefix}/lib/tmpfiles.d
|
||||
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_prefix}/lib/tmpfiles.d/quagga.conf
|
||||
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
@ -400,7 +400,7 @@ fi
|
||||
%endif
|
||||
%config(noreplace) %attr(640,root,root) /etc/logrotate.d/quagga
|
||||
%config(noreplace) /etc/sysconfig/quagga
|
||||
%config(noreplace) /etc/tmpfiles.d/quagga.conf
|
||||
%{_prefix}/lib/tmpfiles.d/quagga.conf
|
||||
/lib/systemd/system/*.service
|
||||
|
||||
%files sysvinit
|
||||
|
Loading…
Reference in New Issue
Block a user