From 22bf968b4b31d6bc94d4f73429f6f4527fc7c45f Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Tue, 3 Feb 2009 21:16:58 +0000 Subject: [PATCH] Add osgi manifest. --- xalan-j2-serializer-MANIFEST.MF | 11 +++++++++++ xalan-j2.spec | 13 +++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 xalan-j2-serializer-MANIFEST.MF diff --git a/xalan-j2-serializer-MANIFEST.MF b/xalan-j2-serializer-MANIFEST.MF new file mode 100644 index 0000000..a7bf248 --- /dev/null +++ b/xalan-j2-serializer-MANIFEST.MF @@ -0,0 +1,11 @@ +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.1.v200806030322 +Bundle-Vendor: %Bundle-Vendor.0 +Require-Bundle: system.bundle +Export-Package: org.apache.xml.serializer,org.apache.xml.serializer.do + m3 diff --git a/xalan-j2.spec b/xalan-j2.spec index b4a6484..f79a3e5 100644 --- a/xalan-j2.spec +++ b/xalan-j2.spec @@ -37,7 +37,7 @@ Name: xalan-j2 Version: 2.7.0 -Release: 7.4%{?dist} +Release: 7.5%{?dist} Epoch: 0 Summary: Java XSLT processor # samples/servlet/ApplyXSLTException.java is ASL 1.1 @@ -45,6 +45,7 @@ Summary: Java XSLT processor License: ASL 1.1 and ASL 2.0 and W3C #Source0: http://www.apache.org/dist/xml/xalan-j/xalan-j_2_7_0-src.tar.gz Source0: xalan-j_%{cvs_version}-src-RHsemiCLEAN.tar.gz +Source1: %{name}-serializer-MANIFEST.MF Patch0: %{name}-noxsltcdeps.patch Patch1: %{name}-manifest.patch Patch2: %{name}-crosslink.patch @@ -185,6 +186,12 @@ ant \ %install rm -rf $RPM_BUILD_ROOT +# inject OSGi manifests +mkdir -p META-INF +cp -p %{SOURCE1} META-INF/MANIFEST.MF +touch META-INF/MANIFEST.MF +zip -u build/serializer.jar META-INF/MANIFEST.MF + # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -p -m 644 build/xalan-interpretive.jar \ @@ -344,6 +351,9 @@ fi %endif %changelog +* Tue Feb 3 2009 Alexander Kurtakov 0:2.7.0-7.5 +- Add osgi manifest. + * Sat Sep 6 2008 Tom "spot" Callaway 0:2.7.0-7.4 - fix license tag @@ -599,4 +609,3 @@ fi * Wed Aug 08 2001 Guillaume Rousse 2.2.D6-1mdk - first Mandrake release -