Skip to content

Commit 160e8e8

Browse files
committed
Merge pull request xapi-project#937 from johnelse/pool-conf-sanibel
SANIBEL-LCM: Fix definitions of configuration files in xapi.spec.in.
2 parents fa47a79 + caaf318 commit 160e8e8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

xapi.spec.in

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
124124
%files core
125125
%defattr(-,root,root,-)
126126
@BASE_PATH@/bin/xapi
127-
/etc/xapi.conf
127+
%config(noreplace) /etc/xapi.conf
128128
/etc/logrotate.d/audit
129129
/etc/logrotate.d/v6d
130130
/etc/logrotate.d/xapi
@@ -137,8 +137,8 @@ rm -rf $RPM_BUILD_ROOT
137137
/etc/rc.d/init.d/xenservices
138138
/etc/rc.d/init.d/sdkinit
139139
/etc/rc.d/init.d/genptoken
140-
/etc/sysconfig/perfmon
141-
/etc/sysconfig/xapi
140+
%config(noreplace) /etc/sysconfig/perfmon
141+
%config(noreplace) /etc/sysconfig/xapi
142142
/etc/udev/rules.d/xen-backend.rules
143143
/etc/udev/rules.d/xen-frontend.rules
144144
/etc/udev/xen-backend.rules
@@ -163,16 +163,16 @@ rm -rf $RPM_BUILD_ROOT
163163
/etc/xapi.d/plugins/wlan.pyo
164164
/etc/xapi.d/plugins/wlan.pyc
165165
/etc/xapi.d/plugins/iovirt
166-
/etc/xensource/db.conf
167-
/etc/xensource/db.conf.rio
168-
/etc/xensource/log.conf
166+
%config(noreplace) /etc/xensource/db.conf
167+
%config(noreplace) /etc/xensource/db.conf.rio
168+
%config(noreplace) /etc/xensource/log.conf
169169
/etc/xensource/master.d/01-example
170170
/etc/xensource/master.d/03-mpathalert-daemon
171-
/etc/xensource/pool.conf
171+
%config(noreplace) /etc/xensource/pool.conf
172172
/etc/xensource/scripts/block-frontend
173173
/etc/xensource/scripts/tap
174174
/etc/xensource/scripts/vif
175-
/etc/xensource/xapi-ssl.conf
175+
%config(noreplace) /etc/xensource/xapi-ssl.conf
176176
@BASE_PATH@/bin/fix_firewall.sh
177177
@BASE_PATH@/bin/list_domains
178178
@BASE_PATH@/bin/mpathalert

0 commit comments

Comments
 (0)