Author: glen Date: Thu May 20 09:52:48 2010 GMT Module: packages Tag: HEAD ---- Log message: - update path to debug log if enabled
---- Files affected: packages/wpmu: wpmu.spec (1.23 -> 1.24) , rss_post_author.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/wpmu/wpmu.spec diff -u packages/wpmu/wpmu.spec:1.23 packages/wpmu/wpmu.spec:1.24 --- packages/wpmu/wpmu.spec:1.23 Fri May 14 18:16:47 2010 +++ packages/wpmu/wpmu.spec Thu May 20 11:52:42 2010 @@ -10,7 +10,7 @@ Summary(en.UTF-8): WordPress ยต Name: wpmu Version: 2.9.2 -Release: 1 +Release: 1.2 License: GPL v2 Group: Applications/Publishing Source0: http://mu.wordpress.org/wordpress-mu-%{version}.tar.gz @@ -152,7 +152,7 @@ %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_appdir},%{_sbindir},%{_sysconfdir},%{_appdir}/wp-content/languages,/var/lib/wpmu} +install -d $RPM_BUILD_ROOT{%{_appdir},%{_sbindir},%{_sysconfdir},%{_appdir}/wp-content/languages,/var/{lib,log}/wpmu} cp -a . $RPM_BUILD_ROOT%{_appdir} touch $RPM_BUILD_ROOT%{_sysconfdir}/wp-config.php @@ -230,6 +230,7 @@ %{_appdir}/wp-admin %attr(775,root,http) /var/lib/wpmu +%attr(775,root,http) /var/log/wpmu # -setup package %exclude %{_appdir}/index-install.php @@ -258,6 +259,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.24 2010/05/20 09:52:42 glen +- update path to debug log if enabled + Revision 1.23 2010/05/14 16:16:47 sparky - BR: rpm-php-pearprov ================================================================ Index: packages/wpmu/rss_post_author.patch diff -u /dev/null packages/wpmu/rss_post_author.patch:1.1 --- /dev/null Thu May 20 11:52:48 2010 +++ packages/wpmu/rss_post_author.patch Thu May 20 11:52:42 2010 @@ -0,0 +1,13 @@ +--- wpmu/wp-admin/import/rss.php~ 2010-05-13 14:29:32.000000000 +0300 ++++ wpmu/wp-admin/import/rss.php 2010-05-20 12:42:32.000000000 +0300 +@@ -111,7 +111,9 @@ + $post_content = str_replace('<br>', '<br />', $post_content); + $post_content = str_replace('<hr>', '<hr />', $post_content); + +- $post_author = 1; ++ preg_match('|<dc:creator>(.*?)</dc:creator>|is', $post, $post_authors); ++ $post_author = $post_authors[1]; ++ + $post_status = 'publish'; + $this->posts[$index] = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_status', 'guid', 'categories'); + $index++; ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wpmu/wpmu.spec?r1=1.23&r2=1.24&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
