SPECS: drupal.spec - uploaded files moved to /var

glen glen at pld-linux.org
Thu Aug 18 15:56:26 CEST 2005


Author: glen                         Date: Thu Aug 18 13:56:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- uploaded files moved to /var

---- Files affected:
SPECS:
   drupal.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.21 SPECS/drupal.spec:1.22
--- SPECS/drupal.spec:1.21	Mon Aug 15 15:59:39 2005
+++ SPECS/drupal.spec	Thu Aug 18 15:56:19 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Platforma do zarządzania treścią o otwartych źródłach
 Name:		drupal
 Version:	4.6.3
-Release:	0.6
+Release:	0.11
 Epoch:		0
 License:	GPL
 Group:		Applications/WWW
@@ -134,7 +134,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdir}/{po,modules/po,htdocs/{files,modules}},%{_sysconfdir},/etc/cron.d}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/cron.d,/var/lib/%{name}} \
+	$RPM_BUILD_ROOT%{_appdir}/{po,modules/po,htdocs/modules}
 
 cp -a *.ico index.php $RPM_BUILD_ROOT%{_appdir}/htdocs
 cp -a misc $RPM_BUILD_ROOT%{_appdir}/htdocs
@@ -146,7 +147,7 @@
 cp -a sites $RPM_BUILD_ROOT%{_sysconfdir}
 
 cp -a themes $RPM_BUILD_ROOT%{_appdir}/htdocs
-ln -s htdocs/files $RPM_BUILD_ROOT%{_appdir}/files
+ln -s /var/lib/%{name} $RPM_BUILD_ROOT%{_appdir}/files
 
 # move .xtmpl/.theme out of htdocs
 (cd $RPM_BUILD_ROOT%{_appdir}/htdocs && tar cf - --remove-files themes/*/*.{xtmpl,theme}) | tar -xf - -C $RPM_BUILD_ROOT%{_appdir}
@@ -210,7 +211,8 @@
 %{_appdir}/htdocs/misc
 %{_appdir}/htdocs/themes
 %{_appdir}/htdocs/modules
-%dir %attr(775,root,http) %{_appdir}/htdocs/files
+
+%dir %attr(775,root,http) /var/lib/%{name}
 
 %files cron
 %defattr(644,root,root,755)
@@ -227,6 +229,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2005/08/18 13:56:19  glen
+- uploaded files moved to /var
+
 Revision 1.21  2005/08/15 13:59:39  glen
 - add MySQL replication patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.21&r2=1.22&f=u




More information about the pld-cvs-commit mailing list