packages: php-simplepie/php-simplepie.spec, php-simplepie/build.patch (NEW)...

glen glen at pld-linux.org
Wed May 19 15:31:57 CEST 2010


Author: glen                         Date: Wed May 19 13:31:57 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do build patching

---- Files affected:
packages/php-simplepie:
   php-simplepie.spec (1.8 -> 1.9) , build.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-simplepie/php-simplepie.spec
diff -u packages/php-simplepie/php-simplepie.spec:1.8 packages/php-simplepie/php-simplepie.spec:1.9
--- packages/php-simplepie/php-simplepie.spec:1.8	Wed May 19 15:29:12 2010
+++ packages/php-simplepie/php-simplepie.spec	Wed May 19 15:31:51 2010
@@ -11,6 +11,7 @@
 Group:		Development/Languages/PHP
 Source0:	http://github.com/rmccue/SimplePie/tarball/%{version}#%{pkgname}-%{version}.tgz
 # Source0-md5:	ecf30ac694cedcdc9200b7992ef0bb79
+Patch0:	build.patch
 URL:		http://www.simplepie.org/
 BuildRequires:	rpm-build >= 4.4.9-96
 BuildRequires:	rpmbuild(macros) >= 1.461
@@ -47,6 +48,7 @@
 %setup -qc
 mv *-SimplePie-*/* .
 mv README.markdown README
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -67,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/05/19 13:31:51  glen
+- do build patching
+
 Revision 1.8  2010/05/19 13:29:12  glen
 - up to 1.2
 

================================================================
Index: packages/php-simplepie/build.patch
diff -u /dev/null packages/php-simplepie/build.patch:1.1
--- /dev/null	Wed May 19 15:31:57 2010
+++ packages/php-simplepie/build.patch	Wed May 19 15:31:51 2010
@@ -0,0 +1,18 @@
+--- php-simplepie-1.2/simplepie.inc~	2007-07-23 10:35:34.000000000 +0300
++++ php-simplepie-1.2/simplepie.inc	2009-12-12 06:35:10.000000000 +0200
+@@ -51,13 +51,12 @@
+ /**
+  * SimplePie Version
+  */
+-define('SIMPLEPIE_VERSION', '1.2.1-dev');
++define('SIMPLEPIE_VERSION', '1.2.1');
+ 
+ /**
+  * SimplePie Build
+- * @todo Hardcode for release (there's no need to have to call SimplePie_Misc::parse_date() only every load of simplepie.inc)
+  */
+-define('SIMPLEPIE_BUILD', gmdate('YmdHis', SimplePie_Misc::parse_date(substr('$Date$', 7, 25)) ? SimplePie_Misc::parse_date(substr('$Date$', 7, 25)) : filemtime(__FILE__)));
++define('SIMPLEPIE_BUILD', 20091211063510);
+ 
+ /**
+  * SimplePie Website URL
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-simplepie/php-simplepie.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list