From 43bc20199990445ce4c07de544b58d927bd855df7b6c3dca402adc6aa901315b Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 13 Oct 2015 09:45:07 +0000 Subject: [PATCH] Accepting request 338341 from home:stroeder:branches:server:dns ignore absence of the systemd-tmpfiles command OBS-URL: https://build.opensuse.org/request/show/338341 OBS-URL: https://build.opensuse.org/package/show/server:dns/nsd?expand=0&rev=20 --- nsd.changes | 5 +++++ nsd.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nsd.changes b/nsd.changes index 9e66c03..502caa2 100644 --- a/nsd.changes +++ b/nsd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 13 05:46:28 UTC 2015 - michael@stroeder.com + +- ignore absence of the systemd-tmpfiles command + ------------------------------------------------------------------- Wed Mar 11 01:33:27 UTC 2015 - mrueckert@suse.de diff --git a/nsd.spec b/nsd.spec index fc5ebe3..18b437c 100644 --- a/nsd.spec +++ b/nsd.spec @@ -128,7 +128,7 @@ ln -s -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %post %fillup_only %{name} %if %{with systemd} -systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf +systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf || : %service_add_post %{name}.service %endif