Add osgi metadata to the ext jar too.
This commit is contained in:
parent
58d2a25bf3
commit
e05d41af59
11
xml-commons-apis-ext-MANIFEST.MF
Normal file
11
xml-commons-apis-ext-MANIFEST.MF
Normal file
@ -0,0 +1,11 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.4,J2SE-1.3,CDC-1.0/Foundat
|
||||
ion-1.0
|
||||
Bundle-SymbolicName: org.w3c.dom.svg
|
||||
Import-Package: org.w3c.dom
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-Localization: plugin
|
||||
Bundle-Version: 1.1.0.v200806040011
|
||||
Bundle-Vendor: %providerName
|
||||
Export-Package: org.w3c.dom.svg;version="1.1.0"
|
@ -35,7 +35,7 @@
|
||||
Name: xml-commons-apis
|
||||
Summary: APIs for DOM, SAX, and JAXP
|
||||
Version: 1.3.04
|
||||
Release: 1.4%{?dist}
|
||||
Release: 1.4.0%{?dist}
|
||||
Epoch: 0
|
||||
License: ASL 2.0 and W3C and Public Domain
|
||||
URL: http://xml.apache.org/commons/
|
||||
@ -43,6 +43,7 @@ Source0: xml-commons-external-1.3.04-src.tar.gz
|
||||
# svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/java/external/
|
||||
# tar czf xml-commons-external-1.3.04-src.tar.gz external
|
||||
Source1: %{name}-MANIFEST.MF
|
||||
Source2: %{name}-ext-MANIFEST.MF
|
||||
Requires: jpackage-utils >= 0:1.5
|
||||
BuildRequires: jpackage-utils >= 0:1.5
|
||||
BuildRequires: ant
|
||||
@ -111,6 +112,9 @@ mkdir -p META-INF
|
||||
cp -p %{SOURCE1} META-INF/MANIFEST.MF
|
||||
touch META-INF/MANIFEST.MF
|
||||
zip -u build/xml-apis.jar META-INF/MANIFEST.MF
|
||||
cp -p %{SOURCE2} META-INF/MANIFEST.MF
|
||||
touch META-INF/MANIFEST.MF
|
||||
zip -u build/xml-apis-ext.jar META-INF/MANIFEST.MF
|
||||
|
||||
# Jars
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||
@ -189,6 +193,9 @@ fi
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Fri Feb 6 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.04-1.4.0
|
||||
- Add osgi metadata to the ext jar too.
|
||||
|
||||
* Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.04-1.4
|
||||
- Add osgi metadata.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user