Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update the spec file to mark config files as such.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>

Conflicts:

	xapi.spec.in
  • Loading branch information...
commit a2daafbafceb9e22347ece51ea5c6a5f6de58ac3 1 parent 0cbfab0
@jonludlam jonludlam authored
Showing with 10 additions and 10 deletions.
  1. +10 −10 xapi.spec.in
View
20 xapi.spec.in
@@ -149,7 +149,7 @@ rm -rf $RPM_BUILD_ROOT
%files core
%defattr(-,root,root,-)
@OPTDIR@/bin/xapi
-/etc/xapi.conf
+%config(noreplace) /etc/xapi.conf
/etc/logrotate.d/audit
/etc/logrotate.d/v6d
/etc/logrotate.d/xapi
@@ -161,8 +161,8 @@ rm -rf $RPM_BUILD_ROOT
/etc/rc.d/init.d/xapissl
/etc/rc.d/init.d/xenservices
/etc/rc.d/init.d/genptoken
-/etc/sysconfig/perfmon
-/etc/sysconfig/xapi
+%config(noreplace) /etc/sysconfig/perfmon
+%config(noreplace) /etc/sysconfig/xapi
/etc/xapi.d/base-path
/etc/xapi.d/plugins/DRAC.py
/etc/xapi.d/plugins/DRAC.pyo
@@ -183,11 +183,11 @@ rm -rf $RPM_BUILD_ROOT
/etc/xapi.d/plugins/wlan.pyo
/etc/xapi.d/plugins/wlan.pyc
/etc/xapi.d/plugins/iovirt
-/etc/xensource/db.conf
-/etc/xensource/db.conf.rio
+%config(noreplace) /etc/xensource/db.conf
+%config(noreplace) /etc/xensource/db.conf.rio
/etc/xensource/master.d/01-example
/etc/xensource/master.d/03-mpathalert-daemon
-/etc/xensource/pool.conf
+%config(noreplace) /etc/xensource/pool.conf
@OPTDIR@/bin/fix_firewall.sh
@OPTDIR@/bin/list_domains
@OPTDIR@/bin/mpathalert
@@ -259,7 +259,7 @@ rm -rf $RPM_BUILD_ROOT
@OPTDIR@/libexec/shell.pyc
@OPTDIR@/libexec/shutdown
@OPTDIR@/libexec/sparse_dd
-/etc/sparse_dd.conf
+%config(noreplace) /etc/sparse_dd.conf
@OPTDIR@/libexec/update-mh-info
@OPTDIR@/libexec/upload-wrapper
@OPTDIR@/libexec/vncterm-wrapper
@@ -296,13 +296,13 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
@OPTDIR@/libexec/squeezed
/etc/rc.d/init.d/squeezed
-/etc/squeezed.conf
+%config(noreplace) /etc/squeezed.conf
%files xenopsd
%defattr(-,root,root,-)
@OPTDIR@/libexec/xenopsd
/etc/rc.d/init.d/xenopsd
-/etc/xenopsd.conf
+%config(noreplace) /etc/xenopsd.conf
@OPTDIR@/bin/xn
/usr/bin/xn
/etc/xensource/bugtool/xenopsd.xml
@@ -325,7 +325,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
@OPTDIR@/libexec/xcp-rrdd
/etc/rc.d/init.d/xcp-rrdd
-/etc/xcp-rrdd.conf
+%config(noreplace) /etc/xcp-rrdd.conf
/usr/lib/python2.4/site-packages/rrdd.py
/usr/lib/python2.4/site-packages/rrdd.pyc
/usr/lib/python2.4/site-packages/rrdd.pyo
Please sign in to comment.
Something went wrong with that request. Please try again.