SPECS: joomla.spec - more files must be writable
baggins
baggins at pld-linux.org
Thu Feb 2 19:42:10 CET 2006
Author: baggins Date: Thu Feb 2 18:42:10 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- more files must be writable
---- Files affected:
SPECS:
joomla.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/joomla.spec
diff -u SPECS/joomla.spec:1.3 SPECS/joomla.spec:1.4
--- SPECS/joomla.spec:1.3 Thu Feb 2 19:16:47 2006
+++ SPECS/joomla.spec Thu Feb 2 19:42:03 2006
@@ -45,13 +45,12 @@
# Instalation:
cp -R * $RPM_BUILD_ROOT%{_joomladir}
-mv -f $RPM_BUILD_ROOT%{_joomladir}/administrator/backups $RPM_BUILD_ROOT%{_joomladata}/administrator/
-mv -f $RPM_BUILD_ROOT%{_joomladir}/{cache,images,media} $RPM_BUILD_ROOT%{_joomladata}/
-ln -sf %{_joomladata}/administrator/backups $RPM_BUILD_ROOT%{_joomladir}/administrator/backups
-ln -sf %{_joomladata}/cache $RPM_BUILD_ROOT%{_joomladir}/cache
-ln -sf %{_joomladata}/images $RPM_BUILD_ROOT%{_joomladir}/images
-ln -sf %{_joomladata}/media $RPM_BUILD_ROOT%{_joomladir}/media
-ln -sf %{_joomladata}/uploadfiles $RPM_BUILD_ROOT%{_joomladir}/uploadfiles
+mv -f $RPM_BUILD_ROOT%{_joomladir}/administrator/{backups,components,modules,templates} \
+ $RPM_BUILD_ROOT%{_joomladata}/administrator/
+mv -f $RPM_BUILD_ROOT%{_joomladir}/{cache,components,images,language,mambots,media,modules,templates} \
+ $RPM_BUILD_ROOT%{_joomladata}/
+ln -sf %{_joomladata}/administrator/{backups,components,modules,templates} $RPM_BUILD_ROOT%{_joomladir}/administrator/
+ln -sf %{_joomladata}/{cache,components,images,language,mambots,media,modules,templates} $RPM_BUILD_ROOT%{_joomladir}/
# Play with configs:
sed -e 's|@JOOMLADIR@|%{_joomladir}|g' -e 's|@JOOMLADATA@|%{_joomladata}|g' \
@@ -76,29 +75,9 @@
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
%dir %{_joomladir}
%{_joomladir}/*
-%attr(771,root,http) %dir %{_joomladata}
-%attr(771,root,http) %dir %{_joomladata}/administrator
-%attr(771,root,http) %dir %{_joomladata}/administrator/backups
-%attr(771,root,http) %dir %{_joomladata}/cache
-%attr(771,root,http) %dir %{_joomladata}/images
-%attr(771,root,http) %dir %{_joomladata}/images/M_images
-%attr(771,root,http) %dir %{_joomladata}/images/banners
-%attr(771,root,http) %dir %{_joomladata}/images/smilies
-%attr(771,root,http) %dir %{_joomladata}/images/stories
-%attr(771,root,http) %dir %{_joomladata}/images/stories/food
-%attr(771,root,http) %dir %{_joomladata}/images/stories/fruit
-%attr(771,root,http) %dir %{_joomladata}/media
-%attr(771,root,http) %dir %{_joomladata}/uploadfiles
-%dir %{_joomladata}/administrator/backups/*
-%dir %{_joomladata}/cache/*
-%dir %{_joomladata}/images/*.*
-%dir %{_joomladata}/images/M_images/*
-%dir %{_joomladata}/images/banners/*
-%dir %{_joomladata}/images/smilies/*
-%dir %{_joomladata}/images/stories/*.*
-%dir %{_joomladata}/images/stories/food/*
-%dir %{_joomladata}/images/stories/fruit/*
-%dir %{_joomladata}/media/*
+%defattr(644,root,http,775)
+%dir %{_joomladata}
+%{_joomladata}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -106,6 +85,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/02/02 18:42:03 baggins
+- more files must be writable
+
Revision 1.3 2006/02/02 18:16:47 baggins
- builds fine
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/joomla.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list