rpms/php-pear-Services-Weather/F-8 php-pear-Services-Weather.spec, 1.2, 1.3 sources, 1.3, 1.4 xml2changelog, 1.1, 1.2

Remi Collet (remi) fedora-extras-commits at redhat.com
Wed May 21 13:27:12 UTC 2008


Author: remi

Update of /cvs/extras/rpms/php-pear-Services-Weather/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13263

Modified Files:
	php-pear-Services-Weather.spec sources xml2changelog 
Log Message:
update to 1.4.3


Index: php-pear-Services-Weather.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Services-Weather/F-8/php-pear-Services-Weather.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- php-pear-Services-Weather.spec	21 Apr 2007 08:18:46 -0000	1.2
+++ php-pear-Services-Weather.spec	21 May 2008 13:26:22 -0000	1.3
@@ -2,7 +2,7 @@
 %define pear_name Services_Weather
 
 Name:           php-pear-Services-Weather
-Version:        1.4.2
+Version:        1.4.3
 Release:        1%{?dist}
 Summary:        This class acts as an interface to various online weather-services
 
@@ -89,6 +89,9 @@
 
 
 %changelog
+* Sat May 17 2008 Remi Collet <Fedora at famillecollet.com> 1.4.3-1
+- update to 1.4.3
+
 * Sat Apr 21 2007 Remi Collet <Fedora at famillecollet.com> 1.4.2-1
 - update to 1.4.2
 - requires php-pear(PEAR) >= 1.4.0


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Services-Weather/F-8/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	21 Apr 2007 08:18:46 -0000	1.3
+++ sources	21 May 2008 13:26:22 -0000	1.4
@@ -1 +1 @@
-6d0bb76bfc56527cb8d013eac196f05a  Services_Weather-1.4.2.tgz
+723c291c48bc5105c633019d07f81d80  Services_Weather-1.4.3.tgz


Index: xml2changelog
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Services-Weather/F-8/xml2changelog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xml2changelog	21 Nov 2006 16:42:32 -0000	1.1
+++ xml2changelog	21 May 2008 13:26:22 -0000	1.2
@@ -7,16 +7,22 @@
 if (in_array("--debug", $_SERVER['argv'])) print_r($xml);
 
 if ($xml['version'] >= "2"){ // Package.xml V 2.0
-	printf("* Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
+	printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
 		$xml->version->release, $xml->stability->release, 
 		$xml->version->api, $xml->stability->api, 
 		$xml->date, $xml->notes);
+	$new=$xml->version->release;
 
-	foreach($xml->changelog->release as $rel)
-		printf("* Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
+	if (isset($xml->changelog->release) && count($xml->changelog->release)) 
+	    foreach($xml->changelog->release as $rel) {
+		$old=$rel->version->release;
+		if ("$old" != "$new") {
+		    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, 
 			$rel->date, $rel->notes);
+		}
+	    }
 } else { // Package.xml V 1.0
 	printf("* Version %s (%s) - %s\n\n%s\n\n",
 		$xml->release->version, $xml->release->state, $xml->release->date, $xml->release->notes);




More information about the fedora-extras-commits mailing list