forked from pool/strongswan
handle missed tmpfiles_create macro
OBS-URL: https://build.opensuse.org/package/show/network:vpn/strongswan?expand=0&rev=75
This commit is contained in:
parent
ce4e2bdd61
commit
94db999eee
@ -403,11 +403,8 @@ echo 'd %{_rundir}/%{name} 0770 root root' > %{buildroot}%{_tmpfilesdir}/%{name}
|
|||||||
|
|
||||||
%post libs0
|
%post libs0
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%if %{with systemd}
|
%{?tmpfiles_create:%tmpfiles_create %{_tmpfilesdir}/%{name}.conf}
|
||||||
%{?tmpfiles_create: %tmpfiles_create %{_tmpfilesdir}/%{name}.conf}
|
%{!?tmpfiles_create:test -d %{_rundir}/%{name} || %{__mkdir_p} %{_rundir}/%{name}}
|
||||||
%else
|
|
||||||
test -d %{_rundir}/%{name} || %{__mkdir_p} %{_rundir}/%{name}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%postun libs0 -p /sbin/ldconfig
|
%postun libs0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user