Accepting request 788311 from Java:packages
Add OSGi manifest to the javassist.jar OBS-URL: https://build.opensuse.org/request/show/788311 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javassist?expand=0&rev=16
This commit is contained in:
commit
cad4ec0583
53
javassist-osgi.patch
Normal file
53
javassist-osgi.patch
Normal file
@ -0,0 +1,53 @@
|
||||
--- javassist-rel_3_23_1_ga/src/main/META-INF/MANIFEST.MF 2018-07-01 19:27:13.000000000 +0200
|
||||
+++ javassist-rel_3_23_1_ga/src/main/META-INF/MANIFEST.MF 2020-03-25 14:51:53.954402117 +0100
|
||||
@@ -2,3 +2,50 @@
|
||||
Specification-Vendor: Shigeru Chiba, www.javassist.org
|
||||
Specification-Version: 3.23.1-GA
|
||||
Main-Class: javassist.CtClass
|
||||
+Bundle-Description: Javassist (JAVA programming ASSISTant)
|
||||
+ makes Java bytecode manipulation simple. It is a class
|
||||
+ library for editing bytecodes in Java.
|
||||
+Bundle-License: http://www.mozilla.org/MPL/MPL-1.1.html,
|
||||
+ http://www.gnu.org/licenses/lgpl-2.1.html,
|
||||
+ http://www.apache.org/licenses/
|
||||
+Bundle-ManifestVersion: 2
|
||||
+Bundle-Name: Javassist
|
||||
+Bundle-SymbolicName: javassist
|
||||
+Bundle-Vendor: Shigeru Chiba, www.javassist.org
|
||||
+Bundle-Version: 3.23.1.GA
|
||||
+Export-Package: javassist;version="3.23.1.GA";
|
||||
+ uses:="javassist.bytecode,javassist.compiler,
|
||||
+ javassist.compiler.ast,javassist.convert,javassist.expr",
|
||||
+ javassist.bytecode;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode.annotation",
|
||||
+ javassist.bytecode.analysis;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode,javassist.bytecode.stackmap",
|
||||
+ javassist.bytecode.annotation;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode",
|
||||
+ javassist.bytecode.stackmap;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode",
|
||||
+ javassist.compiler;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode,javassist.compiler.ast",
|
||||
+ javassist.compiler.ast;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.compiler",
|
||||
+ javassist.convert;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode",
|
||||
+ javassist.expr;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode",
|
||||
+ javassist.runtime;version="3.23.1.GA",
|
||||
+ javassist.scopedpool;version="3.23.1.GA";
|
||||
+ uses:=javassist,
|
||||
+ javassist.tools;version="3.23.1.GA";
|
||||
+ uses:=javassist,
|
||||
+ javassist.tools.reflect;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode",
|
||||
+ javassist.tools.rmi;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.tools.web",
|
||||
+ javassist.tools.web;version="3.23.1.GA";
|
||||
+ uses:=javassist,
|
||||
+ javassist.util;version="3.23.1.GA";
|
||||
+ uses:=javassist,
|
||||
+ javassist.util.proxy;version="3.23.1.GA";
|
||||
+ uses:="javassist,javassist.bytecode"
|
||||
+Require-Capability: osgi.ee;
|
||||
+ filter:="(&(osgi.ee=JavaSE)(version=1.6))"
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 25 14:07:34 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* javassist-osgi.patch
|
||||
+ Add OSGi manifest to the javassist.jar
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 08:57:00 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package javassist
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2000-2005, JPackage Project
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -27,6 +27,7 @@ Group: Development/Libraries/Java
|
||||
URL: https://www.javassist.org/
|
||||
Source0: https://github.com/jboss-javassist/javassist/archive/%{tar_version}.tar.gz
|
||||
Patch0: javassist-java8-compat.patch
|
||||
Patch1: javassist-osgi.patch
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javapackages-local
|
||||
@ -78,6 +79,7 @@ Tutorial for javassist.
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel < 9}%{!?pkg_vcmp:1}
|
||||
%patch0 -p1
|
||||
%endif
|
||||
%patch1 -p1
|
||||
for j in $(find . -name "*.jar"); do
|
||||
mv $j $j.no
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user