- Add OSGi manifest information
This commit is contained in:
parent
d054acc9e1
commit
39fde03aaa
20
jdom-1.0-OSGiManifest.patch
Normal file
20
jdom-1.0-OSGiManifest.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -up ./package/META-INF/MANIFEST.MF.osgimanifest ./package/META-INF/MANIFEST.MF
|
||||
--- ./package/META-INF/MANIFEST.MF.osgimanifest 2008-07-21 16:00:59.000000000 -0400
|
||||
+++ ./package/META-INF/MANIFEST.MF 2008-07-21 16:02:20.000000000 -0400
|
||||
@@ -1,4 +1,16 @@
|
||||
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: 1.0.0.v200806100616
|
||||
+Bundle-Vendor: %Bundle-Vendor.0
|
||||
+Export-Package: org.jdom;version="1.0.0",org.jdom.adapters;version="1.
|
||||
+ 0.0",org.jdom.filter;version="1.0.0",org.jdom.input;version="1.0.0",o
|
||||
+ rg.jdom.output;version="1.0.0",org.jdom.transform;version="1.0.0",org
|
||||
+ .jdom.xpath;version="1.0.0"
|
||||
+Require-Bundle: org.apache.xerces;resolution:=optional
|
||||
|
||||
Name: org/jdom/
|
||||
Specification-Title: JDOM Classes
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
Name: jdom
|
||||
Version: 1.0
|
||||
Release: 5.4%{?dist}
|
||||
Release: 5.5%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java alternative to DOM and SAX
|
||||
License: BSD
|
||||
@ -45,6 +45,7 @@ Group: Development/Libraries/Java
|
||||
#http://www.jdom.org/dist/source/jdom-1.0.tar.gz
|
||||
Source0: jdom-1.0-RHCLEAN.tar.bz2
|
||||
Patch0: %{name}-crosslink.patch
|
||||
Patch1: %{name}-%{version}-OSGiManifest.patch
|
||||
Requires: xalan-j2 >= 0:2.2.0
|
||||
BuildRequires: ant >= 0:1.6
|
||||
BuildRequires: xalan-j2 >= 0:2.2.0
|
||||
@ -91,6 +92,7 @@ Demonstrations and samples for %{name}.
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p0
|
||||
%patch1 -p0
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
find . -name "*.class" -exec rm -f {} \;
|
||||
@ -173,6 +175,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 21 2008 Andrew Overholt <overholt@redhat.com> 1.0-5.5
|
||||
- Add OSGi manifest information
|
||||
|
||||
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0-5.4
|
||||
- drop repotag
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user