Accepting request 893210 from Java:packages
Build against asm >= 7 OBS-URL: https://build.opensuse.org/request/show/893210 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plexus-containers?expand=0&rev=7
This commit is contained in:
commit
6a95ddee12
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 14 16:39:03 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Removed patch:
|
||||||
|
* plexus-containers-asm6.patch
|
||||||
|
+ build using asm >= 7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 24 14:53:52 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
Sun Nov 24 14:53:52 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package plexus-component-metadata
|
# spec file for package plexus-component-metadata
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2021 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
|
||||||
@ -33,7 +33,6 @@ URL: https://github.com/codehaus-plexus/plexus-containers
|
|||||||
Source0: https://github.com/codehaus-plexus/%{base_name}/archive/%{base_name}-%{version}.tar.gz
|
Source0: https://github.com/codehaus-plexus/%{base_name}/archive/%{base_name}-%{version}.tar.gz
|
||||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||||
Source2: LICENSE.MIT
|
Source2: LICENSE.MIT
|
||||||
Patch0: plexus-containers-asm6.patch
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
|
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
|
||||||
@ -47,7 +46,7 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
|
|||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
||||||
BuildRequires: mvn(org.jdom:jdom2)
|
BuildRequires: mvn(org.jdom:jdom2)
|
||||||
BuildRequires: mvn(org.ow2.asm:asm)
|
BuildRequires: mvn(org.ow2.asm:asm) >= 7
|
||||||
#!BuildRequires: maven-compiler-plugin-bootstrap
|
#!BuildRequires: maven-compiler-plugin-bootstrap
|
||||||
#!BuildRequires: maven-jar-plugin-bootstrap
|
#!BuildRequires: maven-jar-plugin-bootstrap
|
||||||
#!BuildRequires: maven-javadoc-plugin-bootstrap
|
#!BuildRequires: maven-javadoc-plugin-bootstrap
|
||||||
@ -74,8 +73,6 @@ Group: Documentation/HTML
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{base_name}-%{base_name}-%{version}
|
%setup -q -n %{base_name}-%{base_name}-%{version}
|
||||||
|
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
|
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
diff -urEbwB plexus-containers-plexus-containers-2.1.0/plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/ann/AnnReader.java plexus-containers-plexus-containers-2.1.0.new/plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/ann/AnnReader.java
|
|
||||||
--- plexus-containers-plexus-containers-2.1.0/plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/ann/AnnReader.java 2019-10-23 12:28:46.000000000 +0200
|
|
||||||
+++ plexus-containers-plexus-containers-2.1.0.new/plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/ann/AnnReader.java 2019-11-22 03:26:41.546581926 +0100
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
private final AnnClass annClass;
|
|
||||||
|
|
||||||
private AnnReader(AnnClass annClass) {
|
|
||||||
- super(Opcodes.ASM7);
|
|
||||||
+ super(Opcodes.ASM6);
|
|
||||||
this.annClass = annClass;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@
|
|
||||||
public FieldVisitor visitField(int access, final String name, final String desc, String signature, Object value) {
|
|
||||||
final AnnField field = new AnnField(annClass, access, name, desc);
|
|
||||||
annClass.addField(field);
|
|
||||||
- return new FieldVisitor(Opcodes.ASM7) {
|
|
||||||
+ return new FieldVisitor(Opcodes.ASM6) {
|
|
||||||
|
|
||||||
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
|
|
||||||
Ann ann = new Ann(desc);
|
|
||||||
@@ -79,7 +79,7 @@
|
|
||||||
final AnnMethod method = new AnnMethod(annClass, access, mname, mdesc);
|
|
||||||
annClass.addMethod(method);
|
|
||||||
|
|
||||||
- return new MethodVisitor(Opcodes.ASM7) {
|
|
||||||
+ return new MethodVisitor(Opcodes.ASM6) {
|
|
||||||
|
|
||||||
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
|
|
||||||
Ann ann = new Ann(desc);
|
|
||||||
@@ -99,7 +99,7 @@
|
|
||||||
private Ann ann;
|
|
||||||
|
|
||||||
public AnnAnnReader(Ann ann) {
|
|
||||||
- super(Opcodes.ASM7);
|
|
||||||
+ super(Opcodes.ASM6);
|
|
||||||
this.ann = ann;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -132,7 +132,7 @@
|
|
||||||
private ArrayList<String> array = new ArrayList<String>();
|
|
||||||
|
|
||||||
public AnnAnnArrayReader(Ann ann, String name) {
|
|
||||||
- super(Opcodes.ASM7);
|
|
||||||
+ super(Opcodes.ASM6);
|
|
||||||
this.ann = ann;
|
|
||||||
this.name = name;
|
|
||||||
}
|
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package plexus-containers
|
# spec file for package plexus-containers
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2021 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
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 14 16:39:03 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Removed patch:
|
||||||
|
* plexus-containers-asm6.patch
|
||||||
|
+ build using asm >= 7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 24 14:50:30 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
Sun Nov 24 14:50:30 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package plexus-metadata-generator
|
# spec file for package plexus-metadata-generator
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2021 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
|
||||||
@ -34,7 +34,6 @@ Source0: https://github.com/codehaus-plexus/%{base_name}/archive/%{base_n
|
|||||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||||
Source2: LICENSE.MIT
|
Source2: LICENSE.MIT
|
||||||
Source100: %{base_name}-build.tar.xz
|
Source100: %{base_name}-build.tar.xz
|
||||||
Patch0: plexus-containers-asm6.patch
|
|
||||||
Patch1: plexus-metadata-generator-cli.patch
|
Patch1: plexus-metadata-generator-cli.patch
|
||||||
Patch1000: %{name}-nomojo.patch
|
Patch1000: %{name}-nomojo.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
@ -43,7 +42,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: jdom2
|
BuildRequires: jdom2
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: objectweb-asm
|
BuildRequires: objectweb-asm >= 7
|
||||||
BuildRequires: plexus-classworlds
|
BuildRequires: plexus-classworlds
|
||||||
BuildRequires: plexus-cli
|
BuildRequires: plexus-cli
|
||||||
BuildRequires: plexus-containers-component-annotations
|
BuildRequires: plexus-containers-component-annotations
|
||||||
@ -54,7 +53,7 @@ BuildRequires: xbean
|
|||||||
Requires: apache-commons-cli
|
Requires: apache-commons-cli
|
||||||
Requires: guava
|
Requires: guava
|
||||||
Requires: jdom2
|
Requires: jdom2
|
||||||
Requires: objectweb-asm
|
Requires: objectweb-asm >= 7
|
||||||
Requires: plexus-cli
|
Requires: plexus-cli
|
||||||
Requires: plexus-containers-component-annotations = %{version}
|
Requires: plexus-containers-component-annotations = %{version}
|
||||||
Requires: plexus-containers-container-default = %{version}
|
Requires: plexus-containers-container-default = %{version}
|
||||||
@ -89,7 +88,6 @@ build-jar-repository -s lib %{base_name} objectweb-asm/asm objectweb-asm/asm-com
|
|||||||
build-jar-repository -s lib hamcrest/core
|
build-jar-repository -s lib hamcrest/core
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%patch1000 -p1
|
%patch1000 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user