Accepting request 1174341 from Java:packages
9.7 OBS-URL: https://build.opensuse.org/request/show/1174341 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/objectweb-asm?expand=0&rev=28
This commit is contained in:
commit
79590e0086
20
_service
Normal file
20
_service
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://gitlab.ow2.org/asm/asm.git</param>
|
||||||
|
<param name="revision">ASM_9_7</param>
|
||||||
|
<param name="match-tag">ASM_*</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">ASM_(\d+)_(\d+)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1.\2</param>
|
||||||
|
<param name="exclude">**/*.jar</param>
|
||||||
|
<param name="exclude">asm{,-analysis,-commons}/**/*.class</param>
|
||||||
|
<param name="exclude">gradle</param>
|
||||||
|
<param name="filename">objectweb-asm</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm</artifactId>
|
<artifactId>asm</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<name>asm</name>
|
<name>asm</name>
|
||||||
<description>ASM, a very small and fast Java bytecode manipulation framework</description>
|
<description>ASM, a very small and fast Java bytecode manipulation framework</description>
|
||||||
<url>http://asm.ow2.io/</url>
|
<url>http://asm.ow2.io/</url>
|
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-analysis</artifactId>
|
<artifactId>asm-analysis</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<name>asm-analysis</name>
|
<name>asm-analysis</name>
|
||||||
<description>Static code analysis API of ASM, a very small and fast Java bytecode manipulation framework</description>
|
<description>Static code analysis API of ASM, a very small and fast Java bytecode manipulation framework</description>
|
||||||
<url>http://asm.ow2.io/</url>
|
<url>http://asm.ow2.io/</url>
|
||||||
@ -71,7 +71,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-tree</artifactId>
|
<artifactId>asm-tree</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-commons</artifactId>
|
<artifactId>asm-commons</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<name>asm-commons</name>
|
<name>asm-commons</name>
|
||||||
<description>Usefull class adapters based on ASM, a very small and fast Java bytecode manipulation framework</description>
|
<description>Usefull class adapters based on ASM, a very small and fast Java bytecode manipulation framework</description>
|
||||||
<url>http://asm.ow2.io/</url>
|
<url>http://asm.ow2.io/</url>
|
||||||
@ -71,13 +71,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm</artifactId>
|
<artifactId>asm</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-tree</artifactId>
|
<artifactId>asm-tree</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-test</artifactId>
|
<artifactId>asm-test</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<name>asm-test</name>
|
<name>asm-test</name>
|
||||||
<description>Utilities for testing ASM, a very small and fast Java bytecode manipulation framework</description>
|
<description>Utilities for testing ASM, a very small and fast Java bytecode manipulation framework</description>
|
||||||
<url>http://asm.ow2.io/</url>
|
<url>http://asm.ow2.io/</url>
|
||||||
@ -71,13 +71,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>junit-jupiter-api</artifactId>
|
<artifactId>junit-jupiter-api</artifactId>
|
||||||
<version>5.9.1</version>
|
<version>5.10.1</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>junit-jupiter-params</artifactId>
|
<artifactId>junit-jupiter-params</artifactId>
|
||||||
<version>5.9.1</version>
|
<version>5.10.1</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-tree</artifactId>
|
<artifactId>asm-tree</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<name>asm-tree</name>
|
<name>asm-tree</name>
|
||||||
<description>Tree API of ASM, a very small and fast Java bytecode manipulation framework</description>
|
<description>Tree API of ASM, a very small and fast Java bytecode manipulation framework</description>
|
||||||
<url>http://asm.ow2.io/</url>
|
<url>http://asm.ow2.io/</url>
|
||||||
@ -71,7 +71,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm</artifactId>
|
<artifactId>asm</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-util</artifactId>
|
<artifactId>asm-util</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<name>asm-util</name>
|
<name>asm-util</name>
|
||||||
<description>Utilities for ASM, a very small and fast Java bytecode manipulation framework</description>
|
<description>Utilities for ASM, a very small and fast Java bytecode manipulation framework</description>
|
||||||
<url>http://asm.ow2.io/</url>
|
<url>http://asm.ow2.io/</url>
|
||||||
@ -71,19 +71,19 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm</artifactId>
|
<artifactId>asm</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-tree</artifactId>
|
<artifactId>asm-tree</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm-analysis</artifactId>
|
<artifactId>asm-analysis</artifactId>
|
||||||
<version>9.6</version>
|
<version>9.7</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
name=objectweb-asm
|
|
||||||
version="$(sed -n 's/Version:\s*//p' *.spec)"
|
|
||||||
gittag="ASM_${version//./_}"
|
|
||||||
|
|
||||||
# RETRIEVE
|
|
||||||
wget "https://gitlab.ow2.org/asm/asm/-/archive/${gittag}/asm-${gittag}.tar.gz" -O "${name}-${version}.orig.tar.gz"
|
|
||||||
|
|
||||||
rm -rf tarball-tmp
|
|
||||||
mkdir tarball-tmp
|
|
||||||
pushd tarball-tmp
|
|
||||||
tar -xzf "../${name}-${version}.orig.tar.gz"
|
|
||||||
|
|
||||||
# Rename dir not to contain commit
|
|
||||||
mv asm-${gittag} ${name}-${version}
|
|
||||||
|
|
||||||
# CLEAN TARBALL
|
|
||||||
# Remove all jar files
|
|
||||||
find -name '*.jar' -delete
|
|
||||||
# Remove all class files except those in asm-test, which are shipped alongside appropriately licensed source
|
|
||||||
find */asm{,-analysis,-commons} -name '*.class' -delete
|
|
||||||
rm -r */gradle
|
|
||||||
|
|
||||||
tar -cJf "../${name}-${version}.tar.xz" *
|
|
||||||
popd
|
|
||||||
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"
|
|
BIN
objectweb-asm-9.6-build.tar.xz
(Stored with Git LFS)
BIN
objectweb-asm-9.6-build.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
objectweb-asm-9.6.tar.xz
(Stored with Git LFS)
BIN
objectweb-asm-9.6.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
objectweb-asm-9.7.tar.xz
(Stored with Git LFS)
Normal file
BIN
objectweb-asm-9.7.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
objectweb-asm-build.tar.xz
(Stored with Git LFS)
Normal file
BIN
objectweb-asm-build.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 15 11:18:14 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 9.7
|
||||||
|
* new Opcodes.V23 constant for Java 23
|
||||||
|
* bug fixes
|
||||||
|
+ 318009: Unit test regression in dex2jar.
|
||||||
|
+ 318007: 'ClassNode#outerClass' has incorrect JavaDocs.
|
||||||
|
+ 318006: asm-bom packaging should be 'pom'.
|
||||||
|
+ 318003: The Textifier prints a supplementary space at the end
|
||||||
|
of each method that throws at least one exception.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 17 05:26:11 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
|
Tue Oct 17 05:26:11 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package objectweb-asm
|
# spec file for package objectweb-asm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,16 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define __requires_exclude java-headless
|
||||||
Name: objectweb-asm
|
Name: objectweb-asm
|
||||||
Version: 9.6
|
Version: 9.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Java bytecode manipulation framework
|
Summary: Java bytecode manipulation framework
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://asm.objectweb.org/
|
URL: http://asm.objectweb.org/
|
||||||
# ./generate-tarball.sh
|
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: %{name}-%{version}-build.tar.xz
|
Source1: %{name}-build.tar.xz
|
||||||
Source2: https://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom
|
Source2: https://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom
|
||||||
Source3: https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom
|
Source3: https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom
|
||||||
Source4: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom
|
Source4: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom
|
||||||
@ -35,13 +35,14 @@ Source7: https://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/a
|
|||||||
# We still want to create an "all" uberjar, so this is a custom pom to generate it
|
# 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
|
# TODO: Fix other packages to no longer depend on "asm-all" so we can drop this
|
||||||
Source9: asm-all.pom
|
Source9: asm-all.pom
|
||||||
# The source contains binary jars that cannot be verified for licensing and could be proprietary
|
|
||||||
Source10: generate-tarball.sh
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 9
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
Requires: java >= 1.8
|
||||||
|
# For the script
|
||||||
|
Requires: javapackages-tools
|
||||||
Obsoletes: %{name}-examples
|
Obsoletes: %{name}-examples
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -103,7 +104,7 @@ for i in asm asm-analysis asm-commons asm-tree asm-util asm-all; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ant -Dproject.version=%{version} \
|
%{ant} -Dproject.version=%{version} \
|
||||||
package javadoc
|
package javadoc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -116,10 +117,10 @@ done
|
|||||||
# poms
|
# poms
|
||||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||||
for i in asm asm-analysis asm-commons asm-tree asm-util; do
|
for i in asm asm-analysis asm-commons asm-tree asm-util; do
|
||||||
install -pm 0644 ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/${i}.pom
|
%{mvn_install_pom} ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/${i}.pom
|
||||||
%add_maven_depmap %{name}/${i}.pom %{name}/${i}.jar
|
%add_maven_depmap %{name}/${i}.pom %{name}/${i}.jar
|
||||||
done
|
done
|
||||||
install -pm 0644 asm-all/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/asm-all.pom
|
%{mvn_install_pom} 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
|
%add_maven_depmap %{name}/asm-all.pom %{name}/asm-all.jar -a org.ow2.asm:asm-debug-all
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
|
Loading…
Reference in New Issue
Block a user