diff --git a/cfengine.changes b/cfengine.changes index c156768..ea25d6d 100644 --- a/cfengine.changes +++ b/cfengine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 2 04:29:47 UTC 2017 - bwiedemann@suse.com + +- Fix build with rpm-4.13 + ------------------------------------------------------------------- Fri Dec 30 12:46:35 UTC 2016 - adam.majer@suse.de diff --git a/cfengine.spec b/cfengine.spec index a1f7390..1bdf274 100644 --- a/cfengine.spec +++ b/cfengine.spec @@ -1,7 +1,7 @@ # # spec file for package cfengine # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -374,7 +374,9 @@ fi %dir %{basedir} %dir %{workdir} %{workdir}/* -%if !%{have_systemd} +%if %{have_systemd} +%{_docdir}/%{name}/cfengine.cron +%else %config(noreplace) %{_sysconfdir}/cron.d/%{name} %endif