packages: magento/magento.spec - create default config (local.xml) so it is...

glen glen at pld-linux.org
Fri Aug 27 15:37:56 CEST 2010


Author: glen                         Date: Fri Aug 27 13:37:56 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- create default config (local.xml) so it is packaged

---- Files affected:
packages/magento:
   magento.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/magento/magento.spec
diff -u packages/magento/magento.spec:1.5 packages/magento/magento.spec:1.6
--- packages/magento/magento.spec:1.5	Fri Aug 27 14:57:46 2010
+++ packages/magento/magento.spec	Fri Aug 27 15:37:50 2010
@@ -6,7 +6,7 @@
 Summary:	An open-source eCommerce platform focused on flexibility and control
 Name:		magento
 Version:	1.4.1.0
-Release:	0.6
+Release:	0.7
 License:	Open Software License (OSL 3.0)
 Group:		Applications/WWW
 URL:		http://www.magentocommerce.com/
@@ -84,6 +84,9 @@
 # cleanup backups after patching
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 
+# default config
+cp app/etc/local.xml{.template,}
+
 # make docs to pack
 install -d doc
 mv RELEASE_NOTES.txt doc
@@ -142,7 +145,7 @@
 %{_appdir}/app/design/*
 %dir %attr(775,root,http) %{_appdir}/app/etc
 %dir %attr(775,root,http) %{_appdir}/app/etc/modules
-%attr(664,root,http) %config(noreplace) %verify(not md5 mtime size) %{_appdir}/app/etc/*.xml
+%attr(664,root,http) %config(noreplace) %verify(not md5 mtime size) %{_appdir}/app/etc/config.xml
 %attr(664,root,http) %config(noreplace) %verify(not md5 mtime size) %{_appdir}/app/etc/local.xml*
 %attr(664,root,http) %config(noreplace) %verify(not md5 mtime size) %{_appdir}/app/etc/modules/*.xml
 %dir %{_appdir}/app/locale
@@ -195,6 +198,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/08/27 13:37:50  glen
+- create default config (local.xml) so it is packaged
+
 Revision 1.5  2010/08/27 12:57:46  glen
 - undos .phtml
 - add -setup package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/magento/magento.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list