[packages/adapter: 445/631] - handle few renamed java packages

glen glen at pld-linux.org
Mon Sep 12 20:11:45 CEST 2016


commit d95a12d3ba456a9a77990eae722115b4bff7c8f9
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue May 19 21:49:44 2009 +0000

    - handle few renamed java packages
    
    Changed files:
        adapter.awk -> 1.420

 adapter.awk | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 94495e9..bf7cbd6 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1697,16 +1697,23 @@ function replace_requires()
 
 	# jpackages
 	sub(/^java-devel$/, "jdk", $2);
-	sub(/^log4j$/, "logging-log4j", $2);
-	sub(/^jakarta-log4j$/, "logging-log4j", $2);
-	sub(/^oro$/, "jakarta-oro", $2);
+	sub(/^log4j$/, "java-log4j", $2);
+	sub(/^logging-log4j$/, "java-log4j", $2);
+	sub(/^jakarta-log4j$/, "java-log4j", $2);
+	sub(/^oro$/, "java-oro", $2);
+	sub(/^jakarta-oro$/, "java-oro", $2);
 	sub(/^jakarta-ant$/, "ant", $2);
-	sub(/^xerces-j2$/, "xerces-j", $2);
+	sub(/^xerces-j2$/, "java-xerces", $2);
+	sub(/^xerces-j$/, "java-xerces", $2);
 	sub(/^ldapjdk$/, "ldapsdk", $2);
 	sub(/^saxon-scripts$/, "saxon", $2);
-	sub(/^xalan-j2$/, "xalan-j", $2);
-	sub(/^xerces-j2$/, "xerces-j", $2);
-	sub(/^gnu-regexp$/, "gnu.regexp", $2);
+	sub(/^xalan-j2$/, "java-xalan", $2);
+	sub(/^xalan-j$/, "java-xalan", $2);
+	sub(/^gnu-regexp$/, "java-gnu-regexp", $2);
+	sub(/^gnu.regexp$/, "java-gnu-regexp", $2);
+	sub(/^jakarta-commons-httpclient$/, "java-commons-httpclient", $2);
+	sub(/^xml-commons-resolver$/, "java-xml-commons-resolver", $2);
+	sub(/^axis$/, "java-axis", $2);
 
 	# redhat virtual
 	sub(/^tftp-server$/, "tftpdaemon", $2);
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list