install rcdehydrated only for suse

OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=48
This commit is contained in:
Daniel Molkentin 2019-08-10 18:01:43 +00:00 committed by Git OBS Bridge
parent 4a20247149
commit ada9a540d7

View File

@ -277,9 +277,11 @@ diff -urN docs/examples/config %{buildroot}%{_home}/config ||:
%{_tmpfilesdir}/%{name}.conf %{_tmpfilesdir}/%{name}.conf
%{_unitdir}/dehydrated.service %{_unitdir}/dehydrated.service
%{_unitdir}/dehydrated.timer %{_unitdir}/dehydrated.timer
%if 0%{?suse_version}
%{_sbindir}/rcdehydrated %{_sbindir}/rcdehydrated
%endif
%ghost %attr(700,%{_user},%{_user}) %dir %{_lock_dir} %ghost %attr(700,%{_user},%{_user}) %dir %{_lock_dir}
%else %else #with systemd
%config %{_sysconfdir}/cron.d/dehydrated %config %{_sysconfdir}/cron.d/dehydrated
%attr(700,%{_user},%{_user}) %dir %{_lock_dir} %attr(700,%{_user},%{_user}) %dir %{_lock_dir}
%endif %endif