From 3e2294682c7bfbb13589c6bbb0ec5e157362950f3093c59ece59d083eb78dcf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Fri, 3 Feb 2017 09:23:39 +0000 Subject: [PATCH] Accepting request 454270 from home:bmwiedemann:branches:systemsmanagement Fix build with rpm-4.13 OBS-URL: https://build.opensuse.org/request/show/454270 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=154 --- cfengine.changes | 5 +++++ cfengine.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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