SOURCES: php-pear-PEAR-specfile.patch (NEW) - new

adamg adamg at pld-linux.org
Tue Dec 20 08:24:07 CET 2005


Author: adamg                        Date: Tue Dec 20 07:24:07 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   php-pear-PEAR-specfile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR-specfile.patch
diff -u /dev/null SOURCES/php-pear-PEAR-specfile.patch:1.1
--- /dev/null	Tue Dec 20 08:24:07 2005
+++ SOURCES/php-pear-PEAR-specfile.patch	Tue Dec 20 08:24:01 2005
@@ -0,0 +1,12 @@
+diff -burN PEAR-1.4.5.orig/usr/share/pear/PEAR/Command/Package.php PEAR-1.4.5/usr/share/pear/PEAR/Command/Package.php
+--- PEAR-1.4.5.orig/usr/share/pear/PEAR/Command/Package.php	2005-12-20 08:14:58.485437880 +0100
++++ PEAR-1.4.5/usr/share/pear/PEAR/Command/Package.php	2005-12-20 08:15:37.777464584 +0100
+@@ -1184,7 +1184,7 @@
+                 fread($fp, filesize($spec_template)));
+             fclose($fp);
+         }
+-        $spec_file = "$info[rpm_package]-$info[version].spec";
++        $spec_file = "$info[rpm_package].spec";
+         $wp = fopen($spec_file, "wb");
+         if (!$wp) {
+             return $this->raiseError("could not write RPM spec file $spec_file: $php_errormsg");
================================================================


More information about the pld-cvs-commit mailing list