From 35ed2c7da9f165ecfcfec5759a36b1504389535d610f56e0713a5f4236df4173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Mon, 24 Mar 2014 13:31:21 +0000 Subject: [PATCH] don't populate /inputs, it's a cache filled by --bootstrap OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=77 --- cfengine.spec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cfengine.spec b/cfengine.spec index 25c7cea..12ae35d 100644 --- a/cfengine.spec +++ b/cfengine.spec @@ -299,8 +299,6 @@ do gzip %{buildroot}%{_mandir}/man8/$i.8 done -# populate inputs for %ghost -cp -a %{basedir}/masterfiles/* %{buildroot}%{basedir}/inputs %if 0%{?suse_version} > 01020 %fdupes %{buildroot}/usr/share/cfengine %endif @@ -320,10 +318,6 @@ cp -a %{basedir}/masterfiles/* %{buildroot}%{basedir}/inputs if [ $1 -lt 2 ]; then cf-key fi -# only populate /var/cfengine/inputs on install, not on upgrade -if [ ${1:-0} -ne 1 ]; then - cp -a %{basedir}/masterfiles/* %{basedir}/inputs -fi %preun %service_del_preun cf-execd.service cf-monitord.service @@ -432,9 +426,6 @@ fi %{_mandir}/man8/* %exclude %{_mandir}/man8/cf-serverd.8.* %dir %{basedir} -%config %ghost %{basedir}/inputs/*.cf -%config %ghost %{basedir}/inputs/*/*.cf -%config %ghost %{basedir}/inputs/*/*/*.cf %exclude %{basedir}/backup %exclude %{basedir}/config #%%exclude %%{basedir}/failsafe