rpms/php-pecl-phar/devel php-pecl-phar.spec, 1.7, 1.8 xml2changelog, 1.1, 1.2

Remi Collet (remi) fedora-extras-commits at redhat.com
Sat Feb 9 08:14:11 UTC 2008


Author: remi

Update of /cvs/extras/rpms/php-pecl-phar/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20116

Modified Files:
	php-pecl-phar.spec xml2changelog 
Log Message:
gcc-4.3


Index: php-pecl-phar.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-phar/devel/php-pecl-phar.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- php-pecl-phar.spec	24 Nov 2007 13:20:07 -0000	1.7
+++ php-pecl-phar.spec	9 Feb 2008 08:13:21 -0000	1.8
@@ -6,7 +6,7 @@
 Summary:      Allows running of complete applications out of .phar files
 Name:         php-pecl-phar
 Version:      1.2.3
-Release:      2%{?dist}
+Release:      3%{?dist}
 License:      PHP
 Group:        Development/Languages
 URL:          http://pecl.php.net/package/phar
@@ -127,6 +127,9 @@
 
 
 %changelog
+* Sat Feb  9 2008 Remi Collet <Fedora at FamilleCollet.com> 1.2.3-3
+- rebuild with gcc-4.3
+
 * Sat Nov 24 2007 Remi Collet <Fedora at FamilleCollet.com> 1.2.3-2
 - phar-make.patch back
 


Index: xml2changelog
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-phar/devel/xml2changelog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xml2changelog	15 Jul 2007 14:26:49 -0000	1.1
+++ xml2changelog	9 Feb 2008 08:13:21 -0000	1.2
@@ -12,7 +12,8 @@
 		$xml->version->api, $xml->stability->api, 
 		$xml->date, $xml->notes);
 
-	if (is_array($xml->changelog->release)) foreach($xml->changelog->release as $rel)
+	if (isset($xml->changelog->release) && count($xml->changelog->release)) 
+	foreach($xml->changelog->release as $rel)
 		printf("* Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
 			$rel->version->release, $rel->stability->release, 
 			$rel->version->api, $rel->stability->api, 




More information about the fedora-extras-commits mailing list