From 7236dccfd8b52a1a0df212658e2d2b8f75264d2636eee9255df4f44e61048ed3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 28 Dec 2018 21:00:39 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=47 --- objectweb-asm.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/objectweb-asm.spec b/objectweb-asm.spec index 8c73ec6..6aa7d5b 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -37,6 +37,7 @@ BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: objectweb-anttask BuildRequires: xz +Requires: objectweb-pom BuildArch: noarch %description From 64910e372712dfa20836724a1552abf69e5e7021752c980da01c43ba131e05b4 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 6 Mar 2019 10:20:03 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=48 --- asm-6.2.1.pom | 96 +++++++ asm-all.pom | 62 +++++ asm-analysis-6.2.1.pom | 102 +++++++ asm-commons-6.2.1.pom | 120 ++++++++ asm-test-6.2.1.pom | 96 +++++++ asm-tree-6.2.1.pom | 102 +++++++ asm-util-6.2.1.pom | 120 ++++++++ asm-xml-6.2.1.pom | 108 ++++++++ objectweb-asm-6.0-no_bnd.patch | 257 ----------------- objectweb-asm-6.0-no_retrofit.patch | 32 --- objectweb-asm-6.0-sourcetarget.patch | 21 -- objectweb-asm-6.0-uberjar.patch | 398 --------------------------- objectweb-asm-6.0.tar.xz | 3 - objectweb-asm-6.2.1-build.tar.xz | 3 + objectweb-asm-6.2.1.tar.xz | 3 + objectweb-asm.changes | 13 + objectweb-asm.spec | 130 ++++----- 17 files changed, 884 insertions(+), 782 deletions(-) create mode 100644 asm-6.2.1.pom create mode 100644 asm-all.pom create mode 100644 asm-analysis-6.2.1.pom create mode 100644 asm-commons-6.2.1.pom create mode 100644 asm-test-6.2.1.pom create mode 100644 asm-tree-6.2.1.pom create mode 100644 asm-util-6.2.1.pom create mode 100644 asm-xml-6.2.1.pom delete mode 100644 objectweb-asm-6.0-no_bnd.patch delete mode 100644 objectweb-asm-6.0-no_retrofit.patch delete mode 100644 objectweb-asm-6.0-sourcetarget.patch delete mode 100644 objectweb-asm-6.0-uberjar.patch delete mode 100644 objectweb-asm-6.0.tar.xz create mode 100644 objectweb-asm-6.2.1-build.tar.xz create mode 100644 objectweb-asm-6.2.1.tar.xz diff --git a/asm-6.2.1.pom b/asm-6.2.1.pom new file mode 100644 index 0000000..24d78af --- /dev/null +++ b/asm-6.2.1.pom @@ -0,0 +1,96 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm + 6.2.1 + asm + ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.org/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD + http://asm.ow2.org/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.ow2.asm + asm-test + 6.2.1 + test + + + org.junit.jupiter + junit-jupiter-api + 5.1.0 + test + + + org.junit.jupiter + junit-jupiter-params + 5.1.0 + test + + + diff --git a/asm-all.pom b/asm-all.pom new file mode 100644 index 0000000..5e69df7 --- /dev/null +++ b/asm-all.pom @@ -0,0 +1,62 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm-all + @VERSION@ + + + org.ow2.asm + asm + @VERSION@ + + + org.ow2.asm + asm-analysis + @VERSION@ + + + org.ow2.asm + asm-commons + @VERSION@ + + + org.ow2.asm + asm-tree + @VERSION@ + + + org.ow2.asm + asm-util + @VERSION@ + + + org.ow2.asm + asm-xml + @VERSION@ + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.1 + + + package + + shade + + + + + + + diff --git a/asm-analysis-6.2.1.pom b/asm-analysis-6.2.1.pom new file mode 100644 index 0000000..3efd2e7 --- /dev/null +++ b/asm-analysis-6.2.1.pom @@ -0,0 +1,102 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm-analysis + 6.2.1 + asm-analysis + Static code analysis API of ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.org/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD + http://asm.ow2.org/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.ow2.asm + asm-tree + 6.2.1 + compile + + + org.ow2.asm + asm-test + 6.2.1 + test + + + org.junit.jupiter + junit-jupiter-api + 5.1.0 + test + + + org.junit.jupiter + junit-jupiter-params + 5.1.0 + test + + + diff --git a/asm-commons-6.2.1.pom b/asm-commons-6.2.1.pom new file mode 100644 index 0000000..2264f46 --- /dev/null +++ b/asm-commons-6.2.1.pom @@ -0,0 +1,120 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm-commons + 6.2.1 + asm-commons + Usefull class adapters based on ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.org/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD + http://asm.ow2.org/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.ow2.asm + asm + 6.2.1 + compile + + + org.ow2.asm + asm-tree + 6.2.1 + compile + + + org.ow2.asm + asm-analysis + 6.2.1 + compile + + + org.ow2.asm + asm-util + 6.2.1 + test + + + org.ow2.asm + asm-test + 6.2.1 + test + + + org.junit.jupiter + junit-jupiter-api + 5.1.0 + test + + + org.junit.jupiter + junit-jupiter-params + 5.1.0 + test + + + diff --git a/asm-test-6.2.1.pom b/asm-test-6.2.1.pom new file mode 100644 index 0000000..e49f578 --- /dev/null +++ b/asm-test-6.2.1.pom @@ -0,0 +1,96 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm-test + 6.2.1 + asm-test + Utilities for testing ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.org/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD + http://asm.ow2.org/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.junit.jupiter + junit-jupiter-api + 5.1.0 + compile + + + org.junit.jupiter + junit-jupiter-params + 5.1.0 + compile + + + org.ow2.asm + asm-test + 6.2.1 + test + + + diff --git a/asm-tree-6.2.1.pom b/asm-tree-6.2.1.pom new file mode 100644 index 0000000..48aab76 --- /dev/null +++ b/asm-tree-6.2.1.pom @@ -0,0 +1,102 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm-tree + 6.2.1 + asm-tree + Tree API of ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.org/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD + http://asm.ow2.org/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.ow2.asm + asm + 6.2.1 + compile + + + org.ow2.asm + asm-test + 6.2.1 + test + + + org.junit.jupiter + junit-jupiter-api + 5.1.0 + test + + + org.junit.jupiter + junit-jupiter-params + 5.1.0 + test + + + diff --git a/asm-util-6.2.1.pom b/asm-util-6.2.1.pom new file mode 100644 index 0000000..c9ea770 --- /dev/null +++ b/asm-util-6.2.1.pom @@ -0,0 +1,120 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm-util + 6.2.1 + asm-util + Utilities for ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.org/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD + http://asm.ow2.org/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.ow2.asm + asm + 6.2.1 + compile + + + org.ow2.asm + asm-tree + 6.2.1 + compile + + + org.ow2.asm + asm-analysis + 6.2.1 + compile + + + org.codehaus.janino + janino + 3.0.7 + test + + + org.ow2.asm + asm-test + 6.2.1 + test + + + org.junit.jupiter + junit-jupiter-api + 5.1.0 + test + + + org.junit.jupiter + junit-jupiter-params + 5.1.0 + test + + + diff --git a/asm-xml-6.2.1.pom b/asm-xml-6.2.1.pom new file mode 100644 index 0000000..c49009f --- /dev/null +++ b/asm-xml-6.2.1.pom @@ -0,0 +1,108 @@ + + + 4.0.0 + + org.ow2 + ow2 + 1.5 + + org.ow2.asm + asm-xml + 6.2.1 + asm-xml + XML API of ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.org/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD + http://asm.ow2.org/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.ow2.asm + asm + 6.2.1 + compile + + + org.ow2.asm + asm-util + 6.2.1 + compile + + + org.ow2.asm + asm-test + 6.2.1 + test + + + org.junit.jupiter + junit-jupiter-api + 5.1.0 + test + + + org.junit.jupiter + junit-jupiter-params + 5.1.0 + test + + + diff --git a/objectweb-asm-6.0-no_bnd.patch b/objectweb-asm-6.0-no_bnd.patch deleted file mode 100644 index 3e6e4bb..0000000 --- a/objectweb-asm-6.0-no_bnd.patch +++ /dev/null @@ -1,257 +0,0 @@ ---- objectweb-asm-6.0/archive/asm-all.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm-all.xml 2018-12-11 10:20:37.851607047 +0100 -@@ -34,14 +34,25 @@ - - - -- -- -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/archive/asm-analysis.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm-analysis.xml 2018-12-11 10:19:23.011226060 +0100 -@@ -33,13 +33,15 @@ - - - -- -- -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/archive/asm-commons.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm-commons.xml 2018-12-11 10:19:23.011226060 +0100 -@@ -33,13 +33,15 @@ - - - -- -- -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/archive/asm-debug-all.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm-debug-all.xml 2018-12-11 10:21:41.675931989 +0100 -@@ -34,14 +34,25 @@ - - - -- -- -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/archive/asm-tree.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm-tree.xml 2018-12-11 10:19:23.011226060 +0100 -@@ -33,13 +33,15 @@ - - - -- -- -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/archive/asm-util.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm-util.xml 2018-12-11 10:19:23.011226060 +0100 -@@ -34,12 +34,15 @@ - - - -- -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/archive/asm.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm.xml 2018-12-11 10:19:23.011226060 +0100 -@@ -33,13 +33,16 @@ - - - -- -- -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/archive/asm-xml.xml 2018-12-11 10:19:05.855138717 +0100 -+++ objectweb-asm-6.0/archive/asm-xml.xml 2018-12-11 10:19:23.015226080 +0100 -@@ -33,13 +33,16 @@ - - - -- -- -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - ---- objectweb-asm-6.0/build.xml 2018-12-11 10:19:05.843138654 +0100 -+++ objectweb-asm-6.0/build.xml 2018-12-11 10:22:41.928238728 +0100 -@@ -79,7 +79,6 @@ - - - -- - - - -@@ -131,7 +130,6 @@ - - - -- - - - -@@ -256,14 +254,7 @@ - - - -- -- -- -- -- -- -+ - - - diff --git a/objectweb-asm-6.0-no_retrofit.patch b/objectweb-asm-6.0-no_retrofit.patch deleted file mode 100644 index 1eacef3..0000000 --- a/objectweb-asm-6.0-no_retrofit.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- objectweb-asm-6.0/build.xml 2018-12-11 10:23:24.592455922 +0100 -+++ objectweb-asm-6.0/build.xml 2018-12-11 10:25:57.477234079 +0100 -@@ -137,19 +137,7 @@ - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -+ - - - -@@ -254,7 +242,7 @@ - - - -- -+ - - - diff --git a/objectweb-asm-6.0-sourcetarget.patch b/objectweb-asm-6.0-sourcetarget.patch deleted file mode 100644 index 303035d..0000000 --- a/objectweb-asm-6.0-sourcetarget.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- objectweb-asm-6.0/build.xml 2018-12-11 10:17:16.622582636 +0100 -+++ objectweb-asm-6.0/build.xml 2018-12-11 10:17:41.218707834 +0100 -@@ -48,6 +48,9 @@ - - - -+ -+ -+ - - - -@@ -125,7 +128,7 @@ - - - -- -+ - - - diff --git a/objectweb-asm-6.0-uberjar.patch b/objectweb-asm-6.0-uberjar.patch deleted file mode 100644 index 36ad929..0000000 --- a/objectweb-asm-6.0-uberjar.patch +++ /dev/null @@ -1,398 +0,0 @@ ---- objectweb-asm-6.0/archive/asm-all.bnd 1970-01-01 01:00:00.000000000 +0100 -+++ objectweb-asm-6.0/archive/asm-all.bnd 2018-12-11 10:11:51.216926166 +0100 -@@ -0,0 +1,60 @@ -+############################################################################### -+#ASM: a very small and fast Java bytecode manipulation framework -+#Copyright (c) 2000-2011 INRIA, France Telecom -+#All rights reserved. -+# -+#Redistribution and use in source and binary forms, with or without -+#modification, are permitted provided that the following conditions -+#are met: -+#1. Redistributions of source code must retain the above copyright -+# notice, this list of conditions and the following disclaimer. -+#2. Redistributions in binary form must reproduce the above copyright -+# notice, this list of conditions and the following disclaimer in the -+# documentation and/or other materials provided with the distribution. -+#3. Neither the name of the copyright holders nor the names of its -+# contributors may be used to endorse or promote products derived from -+# this software without specific prior written permission. -+# -+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+#ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+#LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+#CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+#SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+#INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+#CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+#ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -+#THE POSSIBILITY OF SUCH DAMAGE. -+############################################################################### -+ -+ -+Implementation-Title: ASM all classes -+Implementation-Version: ${product.artifact} -+Implementation-Vendor: France Telecom R&D -+ -+Bundle-Name: ASM all classes with debug info -+Bundle-Vendor: France Telecom R&D -+Bundle-Version: ${product.artifact} -+Bundle-DocURL: http://asm.objectweb.org -+Bundle-SymbolicName: org.objectweb.asm.all -+ -+Export-Package: \ -+ !org.objectweb.asm.optimizer.*,\ -+ org.objectweb.asm.*;version=${product.artifact} -+ -+Import-Package: \ -+ javax.xml.transform.*;resolution:="optional",\ -+ org.xml.sax.*;resolution:="optional" -+ -+Bundle-RequiredExecutionEnvironment: J2SE-1.3 -+ -+-removeheaders:\ -+ ANNV,\ -+ DSTAMP,\ -+ FRAMESV,\ -+ RESIZEV,\ -+ SIGV,\ -+ TODAY,\ -+ TSTAMP,\ -+ WRITERV ---- objectweb-asm-6.0/archive/asm-all.pom 1970-01-01 01:00:00.000000000 +0100 -+++ objectweb-asm-6.0/archive/asm-all.pom 2018-12-11 10:11:51.216926166 +0100 -@@ -0,0 +1,45 @@ -+ -+ -+ -+ 4.0.0 -+ -+ -+ org.ow2.asm -+ asm-parent -+ @product.artifact@ -+ -+ -+ ASM All -+ org.ow2.asm -+ asm-all -+ jar -+ -+ ---- objectweb-asm-6.0/archive/asm-all.xml 1970-01-01 01:00:00.000000000 +0100 -+++ objectweb-asm-6.0/archive/asm-all.xml 2018-12-11 10:11:51.216926166 +0100 -@@ -0,0 +1,62 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ It is highly recommended to use only the necessary ASM jars for your -+application instead of using the asm-all jar, unless you really need -+all ASM packages. -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -\ No newline at end of file ---- objectweb-asm-6.0/archive/asm-debug-all.bnd 1970-01-01 01:00:00.000000000 +0100 -+++ objectweb-asm-6.0/archive/asm-debug-all.bnd 2018-12-11 10:13:34.301450902 +0100 -@@ -0,0 +1,60 @@ -+############################################################################### -+#ASM: a very small and fast Java bytecode manipulation framework -+#Copyright (c) 2000-2011 INRIA, France Telecom -+#All rights reserved. -+# -+#Redistribution and use in source and binary forms, with or without -+#modification, are permitted provided that the following conditions -+#are met: -+#1. Redistributions of source code must retain the above copyright -+# notice, this list of conditions and the following disclaimer. -+#2. Redistributions in binary form must reproduce the above copyright -+# notice, this list of conditions and the following disclaimer in the -+# documentation and/or other materials provided with the distribution. -+#3. Neither the name of the copyright holders nor the names of its -+# contributors may be used to endorse or promote products derived from -+# this software without specific prior written permission. -+# -+#THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+#AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+#ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+#LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+#CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+#SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+#INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+#CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+#ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -+#THE POSSIBILITY OF SUCH DAMAGE. -+############################################################################### -+ -+ -+Implementation-Title: ASM all classes with debug info -+Implementation-Version: ${product.artifact} -+Implementation-Vendor: France Telecom R&D -+ -+Bundle-Name: ASM all classes with debug info -+Bundle-Vendor: France Telecom R&D -+Bundle-Version: ${product.artifact} -+Bundle-DocURL: http://asm.objectweb.org -+Bundle-SymbolicName: org.objectweb.asm.all.debug -+ -+Export-Package: \ -+ !org.objectweb.asm.optimizer.*,\ -+ org.objectweb.asm.*;version=${product.artifact} -+ -+Import-Package: \ -+ javax.xml.transform.*;resolution:="optional",\ -+ org.xml.sax.*;resolution:="optional" -+ -+Bundle-RequiredExecutionEnvironment: J2SE-1.5 -+ -+-removeheaders:\ -+ ANNV,\ -+ DSTAMP,\ -+ FRAMESV,\ -+ RESIZEV,\ -+ SIGV,\ -+ TODAY,\ -+ TSTAMP,\ -+ WRITERV ---- objectweb-asm-6.0/archive/asm-debug-all.pom 1970-01-01 01:00:00.000000000 +0100 -+++ objectweb-asm-6.0/archive/asm-debug-all.pom 2018-12-11 10:13:34.301450902 +0100 -@@ -0,0 +1,45 @@ -+ -+ -+ -+ 4.0.0 -+ -+ -+ org.ow2.asm -+ asm-parent -+ @product.artifact@ -+ -+ -+ ASM Debug All -+ org.ow2.asm -+ asm-debug-all -+ jar -+ -+ ---- objectweb-asm-6.0/archive/asm-debug-all.xml 1970-01-01 01:00:00.000000000 +0100 -+++ objectweb-asm-6.0/archive/asm-debug-all.xml 2018-12-11 10:13:34.301450902 +0100 -@@ -0,0 +1,62 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ It is highly recommended to use only the necessary ASM jars for your -+application instead of using the asm-all jar, unless you really need -+all ASM packages. -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -\ No newline at end of file ---- objectweb-asm-6.0/build.xml 2017-09-23 08:20:04.000000000 +0200 -+++ objectweb-asm-6.0/build.xml 2018-12-11 10:15:11.449945414 +0100 -@@ -262,8 +262,10 @@ - - - -+ - - -+ - - - -@@ -613,6 +615,30 @@ - - - -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - diff --git a/objectweb-asm-6.0.tar.xz b/objectweb-asm-6.0.tar.xz deleted file mode 100644 index 7788568..0000000 --- a/objectweb-asm-6.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbb74a8014181dc34f6197f24a54d5ad5b04fbdf3b44e03dac86097f83c49cbd -size 508156 diff --git a/objectweb-asm-6.2.1-build.tar.xz b/objectweb-asm-6.2.1-build.tar.xz new file mode 100644 index 0000000..07413fa --- /dev/null +++ b/objectweb-asm-6.2.1-build.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fcd89b723348cbef0d9ee6f6f3710a4d6afa256aa5f106310b0bc86cf27a0f4c +size 2720 diff --git a/objectweb-asm-6.2.1.tar.xz b/objectweb-asm-6.2.1.tar.xz new file mode 100644 index 0000000..1bb817b --- /dev/null +++ b/objectweb-asm-6.2.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:570e0911df0e3a7c7c8366dcc6e54050e41918605f2963587754f757210c9bac +size 600420 diff --git a/objectweb-asm.changes b/objectweb-asm.changes index e987518..730728f 100644 --- a/objectweb-asm.changes +++ b/objectweb-asm.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Mar 6 10:17:42 UTC 2019 - Fridrich Strba + +- Upgrade to version 6.2.1 +- Generate and customize the ant build system to be able to build + without gradle +- Removed patches: + * objectweb-asm-6.0-no_bnd.patch + * objectweb-asm-6.0-no_retrofit.patch + * objectweb-asm-6.0-sourcetarget.patch + * objectweb-asm-6.0-uberjar.patch + + not needed in this version + ------------------------------------------------------------------- Tue Dec 11 14:03:41 UTC 2018 - Jan Engelhardt diff --git a/objectweb-asm.spec b/objectweb-asm.spec index 6aa7d5b..540c31e 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -1,7 +1,7 @@ # # spec file for package objectweb-asm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: objectweb-asm -Version: 6.0 +Version: 6.2.1 Release: 0 Summary: Java bytecode manipulation framework License: BSD-3-Clause @@ -25,19 +25,25 @@ Group: Development/Libraries/Java URL: http://asm.objectweb.org/ # ./generate-tarball.sh Source0: %{name}-%{version}.tar.xz +Source1: %{name}-%{version}-build.tar.xz +Source2: http://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom +Source3: http://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom +Source4: http://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom +Source5: http://repo1.maven.org/maven2/org/ow2/asm/asm-test/%{version}/asm-test-%{version}.pom +Source6: http://repo1.maven.org/maven2/org/ow2/asm/asm-tree/%{version}/asm-tree-%{version}.pom +Source7: http://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/asm-util-%{version}.pom +Source8: http://repo1.maven.org/maven2/org/ow2/asm/asm-xml/%{version}/asm-xml-%{version}.pom +# We still want to create an "all" uberjar, so this is a custom pom to generate it +# TODO: Fix other packages to no longer depend on "asm-all" so we can drop this +Source9: asm-all.pom # The source contains binary jars that cannot be verified for licensing and could be proprietary -Source1: generate-tarball.sh -Patch0: %{name}-%{version}-uberjar.patch -Patch1: %{name}-%{version}-sourcetarget.patch -Patch2: %{name}-%{version}-no_bnd.patch -Patch3: %{name}-%{version}-no_retrofit.patch +Source10: generate-tarball.sh BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local -BuildRequires: objectweb-anttask BuildRequires: xz -Requires: objectweb-pom +Obsoletes: %{name}-examples BuildArch: noarch %description @@ -82,75 +88,57 @@ ASM offers similar functionalities as BCEL or SERP, but is much smaller. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -rm -f src/org/objectweb/asm/tools/ModuleInfoBndPlugin.java -%patch3 -p1 -# wrong end of line encoding -find examples/ -type 'f' | xargs sed -i -e 's/.$//' -sed -i -e 's/.$//' README.txt LICENSE.txt -mkdir -p test/lib +%setup -q -a1 +cp %{SOURCE2} asm/pom.xml +cp %{SOURCE3} asm-analysis/pom.xml +cp %{SOURCE4} asm-commons/pom.xml +cp %{SOURCE5} asm-test/pom.xml +cp %{SOURCE6} asm-tree/pom.xml +cp %{SOURCE7} asm-util/pom.xml +cp %{SOURCE8} asm-xml/pom.xml +# Insert asm-all pom +mkdir -p asm-all +sed 's/@VERSION@/%{version}/g' %{SOURCE9} > asm-all/pom.xml -%build -ant \ - -Dcompile.source=8 -Dcompile.target=8 \ - -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) \ - dist.version jar jdoc - -%install -install -d -m 755 %{buildroot}/%{_javadir}/%{name} -# jars -install -m 644 output/dist/lib/*jar %{buildroot}/%{_javadir}/%{name} -(cd %{buildroot}%{_javadir}/%{name} && for jar in *-%{version}.jar; do ln -sf ${jar} ${jar/-%{version}/}; done) - -install -m 644 output/dist/lib/all/asm-all-%{version}.jar \ - %{buildroot}%{_javadir}/%{name}-all-%{version}.jar -(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) - -# pom -install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name} - -install -pm 644 output/dist/lib/all/asm-all-%{version}.pom %{buildroot}%{_mavenpomdir}/%{name}-all-%{version}.pom -%add_maven_depmap %{name}-all-%{version}.pom %{name}-all-%{version}.jar - -install -pm 644 output/dist/lib/asm-%{version}.pom %{buildroot}%{_mavenpomdir}/%{name}/asm-%{version}.pom -%add_maven_depmap %{name}/asm-%{version}.pom %{name}/asm-%{version}.jar - -install -pm 644 output/dist/lib/asm-parent-%{version}.pom %{buildroot}%{_mavenpomdir}/%{name}/asm-parent-%{version}.pom -%add_maven_depmap %{name}/asm-parent-%{version}.pom - -for i in analysis commons tree util xml; do - install -pm 644 output/dist/lib/asm-$i-%{version}.pom %{buildroot}%{_mavenpomdir}/%{name}/asm-$i-%{version}.pom - %add_maven_depmap %{name}/asm-$i-%{version}.pom %{name}/asm-$i-%{version}.jar +for i in asm asm-analysis asm-commons asm-tree asm-util asm-xml asm-all; do + %pom_remove_parent ${i} done -# javadoc -install -d -m 755 %{buildroot}/%{_javadocdir}/%{name}-%{version} -cp -pr output/dist/doc/javadoc/user/* %{buildroot}/%{_javadocdir}/%{name}-%{version} -ln -s %{name}-%{version} %{buildroot}/%{_javadocdir}/%{name} -%fdupes -s %{buildroot} -%fdupes -s examples/ +%build +%ant \ + package javadoc -%files +%install +# jars +install -dm 0755 %{buildroot}/%{_javadir}/%{name} +for i in asm asm-analysis asm-commons asm-tree asm-util asm-xml asm-all; do + install -pm 0644 ${i}/target/${i}-%{version}.jar %{buildroot}/%{_javadir}/%{name}/${i}.jar +done + +# poms +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +for i in asm asm-analysis asm-commons asm-tree asm-util asm-xml; do + install -pm 0644 ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/${i}.pom + %add_maven_depmap %{name}/${i}.pom %{name}/${i}.jar +done +install -pm 0644 asm-all/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/asm-all.pom +%add_maven_depmap %{name}/asm-all.pom %{name}/asm-all.jar -a org.ow2.asm:asm-debug-all + +# javadoc +install -dm 0755 %{buildroot}/%{_javadocdir}/%{name} +for i in asm asm-analysis asm-commons asm-tree asm-util asm-xml; do + cp -pr ${i}/target/site/apidocs %{buildroot}/%{_javadocdir}/%{name}/${i} +done +%fdupes -s %{buildroot}/%{_javadocdir} + +# script +%jpackage_script org.objectweb.asm.xml.Processor "" "" %{name}/asm:%{name}/asm-util:%{name}/asm-xml %{name}-processor true + +%files -f .mfiles %license LICENSE.txt -%doc README.txt -%{_javadir}/%{name}-all*.jar -%{_javadir}/%{name} -%{_mavenpomdir}/%{name}-all-%{version}.pom -%{_mavenpomdir}/%{name} -%if %{defined _maven_repository} -%{_mavendepmapfragdir}/%{name} -%else -%{_datadir}/maven-metadata/%{name}.xml* -%endif +%{_bindir}/%{name}-processor %files javadoc -%{_javadocdir}/%{name}-%{version} %{_javadocdir}/%{name} -%files examples -%doc examples/* - %changelog