packages: wordpress-plugins/wordpress-plugins.spec - todo, safe unify

glen glen at pld-linux.org
Thu Apr 8 21:19:35 CEST 2010


Author: glen                         Date: Thu Apr  8 19:19:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- todo, safe unify

---- Files affected:
packages/wordpress-plugins:
   wordpress-plugins.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/wordpress-plugins/wordpress-plugins.spec
diff -u packages/wordpress-plugins/wordpress-plugins.spec:1.14 packages/wordpress-plugins/wordpress-plugins.spec:1.15
--- packages/wordpress-plugins/wordpress-plugins.spec:1.14	Thu Apr  8 11:01:37 2010
+++ packages/wordpress-plugins/wordpress-plugins.spec	Thu Apr  8 21:19:29 2010
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# TODO
+# - remove pointless restrictive permissions on open source files (use just
+#   default root,root world readable) these are not even config
 Summary:	Plugins for the WordPress personal publishing system
 Summary(pl.UTF-8):	Wtyczki dla osobistego systemu publikacji WordPress
 Name:		wordpress-plugins
@@ -15,6 +18,7 @@
 Source3:	http://www.coldforged.org/paged_comment_editing.zip
 # Source3-md5:	86452bfd4369877f3faea8639e457326
 # WTF? Each time I download this file it has new md5sum? Is it generated "on the fly"?
+# TO: WTF: try fetching it and commit immediately then you and df get same hit from frontend cache
 # Source4:	http://downloads.wordpress.org/plugin/feedwordpress.2010.0127.zip
 Source4:	http://execve.pl/PLD/feedwordpress.2010.0127.zip
 # Source4-md5:	d84349218f3f067030b5c148bc108ff1
@@ -27,7 +31,7 @@
 
 %define		wordpressdir	%{_datadir}/wordpress
 %define		pluginssubdir	wp-content/plugins
-%define		pluginsdir	%{wordpressdir}/%{pluginssubdir}
+%define		pluginsdir		%{wordpressdir}/%{pluginssubdir}
 
 %description
 WordPress is a state-of-the-art semantic personal publishing platform
@@ -166,8 +170,8 @@
 Blogs.
 
 %prep
-%setup -q -c -T
-cp %{SOURCE0} .
+%setup -qcT
+cp -a %{SOURCE0} .
 tar xvzf %{SOURCE1}
 unzip -qq %{SOURCE2}
 unzip -qq %{SOURCE3}
@@ -176,16 +180,16 @@
 # don't install these files. They are provided by wordpress package.
 rm -rf feedwordpress/MagpieRSS-upgrade
 
+find -type f -name '*.php' -o -name '*.txt' -o -name '*.htm*' -o -name '*.js' | xargs %undos
+
+for i in *.phps; do
+	mv -f $i $(basename $i .phps).php
+done
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{wordpressdir} $RPM_BUILD_ROOT%{pluginsdir}
-
-for i in *.phps
-do
-    mv -f $i $(basename $i .phps).php
-done
-find . -type f -name '*.php' -o -name '*.txt' -o -name '*.htm*' -o -name '*.js' | xargs %undos
-cp -R * $RPM_BUILD_ROOT%{pluginsdir}
+cp -a . $RPM_BUILD_ROOT%{pluginsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -222,6 +226,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2010/04/08 19:19:29  glen
+- todo, safe unify
+
 Revision 1.14  2010/04/08 09:01:37  pawelz
 - Source4 seems to be generated "on the fly". Each time I download it, it has
   new md5sum. It confuses distfiles. Use dropin/own webserver to host this file.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wordpress-plugins/wordpress-plugins.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list