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
This commit is contained in:
parent
ead513fd57
commit
35ed2c7da9
@ -299,8 +299,6 @@ do
|
|||||||
gzip %{buildroot}%{_mandir}/man8/$i.8
|
gzip %{buildroot}%{_mandir}/man8/$i.8
|
||||||
done
|
done
|
||||||
|
|
||||||
# populate inputs for %ghost
|
|
||||||
cp -a %{basedir}/masterfiles/* %{buildroot}%{basedir}/inputs
|
|
||||||
%if 0%{?suse_version} > 01020
|
%if 0%{?suse_version} > 01020
|
||||||
%fdupes %{buildroot}/usr/share/cfengine
|
%fdupes %{buildroot}/usr/share/cfengine
|
||||||
%endif
|
%endif
|
||||||
@ -320,10 +318,6 @@ cp -a %{basedir}/masterfiles/* %{buildroot}%{basedir}/inputs
|
|||||||
if [ $1 -lt 2 ]; then
|
if [ $1 -lt 2 ]; then
|
||||||
cf-key
|
cf-key
|
||||||
fi
|
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
|
%preun
|
||||||
%service_del_preun cf-execd.service cf-monitord.service
|
%service_del_preun cf-execd.service cf-monitord.service
|
||||||
@ -432,9 +426,6 @@ fi
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%exclude %{_mandir}/man8/cf-serverd.8.*
|
%exclude %{_mandir}/man8/cf-serverd.8.*
|
||||||
%dir %{basedir}
|
%dir %{basedir}
|
||||||
%config %ghost %{basedir}/inputs/*.cf
|
|
||||||
%config %ghost %{basedir}/inputs/*/*.cf
|
|
||||||
%config %ghost %{basedir}/inputs/*/*/*.cf
|
|
||||||
%exclude %{basedir}/backup
|
%exclude %{basedir}/backup
|
||||||
%exclude %{basedir}/config
|
%exclude %{basedir}/config
|
||||||
#%%exclude %%{basedir}/failsafe
|
#%%exclude %%{basedir}/failsafe
|
||||||
|
Loading…
Reference in New Issue
Block a user