This commit is contained in:
parent
ff4b8de5b7
commit
a95f44d7f5
22
jdom-1.1-OSGiManifest.patch
Normal file
22
jdom-1.1-OSGiManifest.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- jdom-1.1/package/META-INF/MANIFEST.MF.osgimanifest 2008-07-21 16:00:59.000000000 -0400
|
||||||
|
+++ jdom-1.1/package/META-INF/MANIFEST.MF 2008-07-21 16:02:20.000000000 -0400
|
||||||
|
@@ -1,4 +1,19 @@
|
||||||
|
Manifest-Version: 1.0
|
||||||
|
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
|
||||||
|
+Bundle-SymbolicName: org.jdom
|
||||||
|
+Bundle-ManifestVersion: 2
|
||||||
|
+Bundle-Name: %Bundle-Name.0
|
||||||
|
+Bundle-Localization: plugin
|
||||||
|
+Bundle-Version: @version.impl@
|
||||||
|
+Bundle-Vendor: %Bundle-Vendor.0
|
||||||
|
+Export-Package: org.jdom;version="@version.impl@",
|
||||||
|
+ org.jdom.adapters;version="@version.impl@",
|
||||||
|
+ org.jdom.filter;version="@version.impl@",
|
||||||
|
+ org.jdom.input;version="@version.impl@",
|
||||||
|
+ org.jdom.output;version="@version.impl@",
|
||||||
|
+ org.jdom.transform;version="@version.impl@",
|
||||||
|
+ org .jdom.xpath;version="@version.impl@"
|
||||||
|
+Require-Bundle: org.apache.xerces;resolution:=optional
|
||||||
|
|
||||||
|
Name: org/jdom/
|
||||||
|
Specification-Title: JDOM Classes
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 16:48:35 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* jdom-1.1-OSGiManifest.patch
|
||||||
|
+ Make jdom an OSGi bundle
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 20 10:58:51 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
Tue Nov 20 10:58:51 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jdom
|
# spec file for package jdom
|
||||||
#
|
#
|
||||||
# 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
|
# 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
|
||||||
@ -56,6 +56,7 @@ Source11: http://repo.maven.apache.org/maven2/saxpath/saxpath/%{saxpath_ve
|
|||||||
Source12: http://repo.maven.apache.org/maven2/xom/xom/1.2.5/xom-1.2.5.pom
|
Source12: http://repo.maven.apache.org/maven2/xom/xom/1.2.5/xom-1.2.5.pom
|
||||||
Source13: http://repo.maven.apache.org/maven2/jaxen/jaxen/%{jaxen_version}%{jaxen_suffix}/jaxen-%{jaxen_version}%{jaxen_suffix}.pom
|
Source13: http://repo.maven.apache.org/maven2/jaxen/jaxen/%{jaxen_version}%{jaxen_suffix}/jaxen-%{jaxen_version}%{jaxen_suffix}.pom
|
||||||
Patch0: jdom-1.1-build.xml.patch
|
Patch0: jdom-1.1-build.xml.patch
|
||||||
|
Patch1: jdom-1.1-OSGiManifest.patch
|
||||||
Patch2: jdom-1.1-xom-get-jaxen.patch
|
Patch2: jdom-1.1-xom-get-jaxen.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
@ -156,6 +157,7 @@ mkdir %{stage1_build_dir}
|
|||||||
# delete all inlcuded jar files:
|
# delete all inlcuded jar files:
|
||||||
find . -name "*.jar" -delete -name "*.class" -delete
|
find . -name "*.jar" -delete -name "*.class" -delete
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
cp %{SOURCE10} %{name}-%{jdom_version}.pom
|
cp %{SOURCE10} %{name}-%{jdom_version}.pom
|
||||||
cp %{SOURCE11} saxpath-%{saxpath_version}.pom
|
cp %{SOURCE11} saxpath-%{saxpath_version}.pom
|
||||||
|
Loading…
Reference in New Issue
Block a user