[packages/adapter: 495/631] - workaround for php-gtk2 bad choice of pkgname

glen glen at pld-linux.org
Mon Sep 12 20:15:56 CEST 2016


commit 6ca05bf856481ed23fc14073dc40a933a49e58f8
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Aug 22 08:52:02 2010 +0000

    - workaround for php-gtk2 bad choice of pkgname
    
    Changed files:
        adapter.awk -> 1.465

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 87e0505..1cae1c9 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1855,6 +1855,9 @@ function replace_requires() {
 	# use virtual, not package name
 	sub(/^rpm-build-macros$/, "rpmbuild(macros)", $2);
 
+	# bad package.xml, see http://pear.php.net/bugs/bug.php?id=17779
+	sub(/^php-php-gtk/, "php-gtk2", $2);
+
 	# jpackages
 	sub(/^antlr3$/, "java-antlr3", $2);
 	sub(/^avalon-framework$/, "java-avalon-framework", $2);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list