From f90ce2d6d4c9495c8188270fbba0a02fc1f78533bdab1fe70084fbebb6dbfb13 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 1 Feb 2019 10:12:56 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/xalan-j2?expand=0&rev=33 --- xalan-j2-MANIFEST.MF | 72 +++++++++++++++++++++++++++++++++ xalan-j2-serializer-MANIFEST.MF | 10 +++++ xalan-j2.spec | 8 +++- 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 xalan-j2-MANIFEST.MF create mode 100644 xalan-j2-serializer-MANIFEST.MF diff --git a/xalan-j2-MANIFEST.MF b/xalan-j2-MANIFEST.MF new file mode 100644 index 0000000..46ce6aa --- /dev/null +++ b/xalan-j2-MANIFEST.MF @@ -0,0 +1,72 @@ +Main-Class: org.apache.xalan.xslt.Process +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name.0 +Bundle-SymbolicName: org.apache.xalan +Bundle-Version: 2.7.2 +Bundle-Vendor: %Bundle-Vendor.0 +Export-Package: org.apache.regexp;version="2.7.2", + org.apache.xalan;version="2.7.2", + org.apache.xalan.client;version="2.7.2", + org.apache.xalan.extensions;version="2.7.2", + org.apache.xalan.lib;version="2.7.2", + org.apache.xalan.lib.sql;version="2.7.2", + org.apache.xalan.processor;version="2.7.2", + org.apache.xalan.res;version="2.7.2", + org.apache.xalan.serialize;version="2.7.2", + org.apache.xalan.templates;version="2.7.2", + org.apache.xalan.trace;version="2.7.2", + org.apache.xalan.transformer;version="2.7.2", + org.apache.xalan.xslt;version="2.7.2", + org.apache.xalan.xsltc;version="2.7.2", + org.apache.xalan.xsltc.cmdline;version="2.7.2", + org.apache.xalan.xsltc.cmdline.getopt;version="2.7.2", + org.apache.xalan.xsltc.compiler;version="2.7.2", + org.apache.xalan.xsltc.compiler.util;version="2.7.2", + org.apache.xalan.xsltc.dom;version="2.7.2", + org.apache.xalan.xsltc.runtime;version="2.7.2", + org.apache.xalan.xsltc.runtime.output;version="2.7.2", + org.apache.xalan.xsltc.trax;version="2.7.2", + org.apache.xalan.xsltc.util;version="2.7.2", + org.apache.xml.dtm;version="2.7.2", + org.apache.xml.dtm.ref;version="2.7.2", + org.apache.xml.dtm.ref.dom2dtm;version="2.7.2", + org.apache.xml.dtm.ref.sax2dtm;version="2.7.2", + org.apache.xml.res;version="2.7.2", + org.apache.xml.utils;version="2.7.2", + org.apache.xml.utils.res;version="2.7.2", + org.apache.xpath;version="2.7.2", + org.apache.xpath.axes;version="2.7.2", + org.apache.xpath.compiler;version="2.7.2", + org.apache.xpath.domapi;version="2.7.2", + org.apache.xpath.functions;version="2.7.2", + org.apache.xpath.jaxp;version="2.7.2", + org.apache.xpath.objects;version="2.7.2", + org.apache.xpath.operations;version="2.7.2", + org.apache.xpath.patterns;version="2.7.2", + org.apache.xpath.res;version="2.7.2" +Require-Bundle: system.bundle, org.apache.xerces +Eclipse-BuddyPolicy: registered + +Name: org/apache/xalan/ +Comment: Main Xalan engine implementing TrAX/JAXP +Specification-Title: Java API for XML Processing +Specification-Vendor: Sun Microsystems Inc. +Specification-Version: 1.3 +Implementation-Title: org.apache.xalan +Implementation-Version: 2.7.2 +Implementation-Vendor: Apache Software Foundation +Implementation-URL: http://xml.apache.org/xalan-j/dist/ + +Name: org/apache/xml/ +Comment: DTM implementation and utilities +Implementation-Title: org.apache.xml +Implementation-Version: 2.7.2 +Implementation-Vendor: Apache Software Foundation +Implementation-URL: http://xml.apache.org/xalan-j/dist/ + +Name: org/apache/xpath/ +Comment: XPath engine +Implementation-Title: org.apache.xpath +Implementation-Version: 2.7.2 +Implementation-Vendor: Apache Software Foundation +Implementation-URL: http://xml.apache.org/xalan-j/dist/ diff --git a/xalan-j2-serializer-MANIFEST.MF b/xalan-j2-serializer-MANIFEST.MF new file mode 100644 index 0000000..7f037ae --- /dev/null +++ b/xalan-j2-serializer-MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-RequiredExecutionEnvironment: J2SE-1.2 +Bundle-SymbolicName: org.apache.xml.serializer +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name.0 +Bundle-Localization: plugin +Bundle-Version: 2.7.2 +Bundle-Vendor: %Bundle-Vendor.0 +Export-Package: org.apache.xml.serializer,org.apache.xml.serializer.do + m3 diff --git a/xalan-j2.spec b/xalan-j2.spec index 74ffe82..00590fd 100644 --- a/xalan-j2.spec +++ b/xalan-j2.spec @@ -1,7 +1,7 @@ # # spec file for package xalan-j2 # -# 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 @@ -28,6 +28,8 @@ Source0: http://www.apache.org/dist/xalan/xalan-j/source/xalan-j_%{cvs_ve Source1: http://repo1.maven.org/maven2/xalan/xalan/%{version}/xalan-%{version}.pom Source2: http://repo1.maven.org/maven2/xalan/serializer/%{version}/serializer-%{version}.pom Source3: xsltc-%{version}.pom +Source4: xalan-j2-serializer-MANIFEST.MF +Source5: xalan-j2-MANIFEST.MF # OSGi manifests Patch0: %{name}-noxsltcdeps.patch Patch1: %{name}-manifest.patch @@ -142,6 +144,10 @@ ant \ samples \ servlet +# inject OSGi manifests +jar ufm build/serializer.jar %{SOURCE4} +jar ufm build/xalan-interpretive.jar %{SOURCE5} + %install # jars install -d -m 755 %{buildroot}%{_javadir} From 9612495c637cbe5a38e210551955be007d095586519acf8785e325aaa54c3259 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 1 Feb 2019 10:24:11 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/xalan-j2?expand=0&rev=34 --- xalan-j2.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xalan-j2.changes b/xalan-j2.changes index 1398c1d..d2a86e5 100644 --- a/xalan-j2.changes +++ b/xalan-j2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 1 10:23:16 UTC 2019 - Fridrich Strba + +- Add xalan-j2-serializer-MANIFEST.MF and xalan-j2-MANIFEST.MF + * Contain OSGi metadata required by Eclipse + ------------------------------------------------------------------- Sun Nov 18 21:00:55 UTC 2018 - Fridrich Strba