diff --git a/jdom-1.0-OSGiManifest.patch b/jdom-1.1-OSGiManifest.patch similarity index 68% rename from jdom-1.0-OSGiManifest.patch rename to jdom-1.1-OSGiManifest.patch index afcd720..ccb95ba 100644 --- a/jdom-1.0-OSGiManifest.patch +++ b/jdom-1.1-OSGiManifest.patch @@ -8,12 +8,12 @@ diff -up ./package/META-INF/MANIFEST.MF.osgimanifest ./package/META-INF/MANIFEST +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name.0 +Bundle-Localization: plugin -+Bundle-Version: 1.0.0.v200806100616 ++Bundle-Version: 1.1.2 +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" ++Export-Package: org.jdom;version="1.1.2",org.jdom.adapters;version="1. ++ 1.2",org.jdom.filter;version="1.1.2",org.jdom.input;version="1.1.2",o ++ rg.jdom.output;version="1.1.2",org.jdom.transform;version="1.1.2",org ++ .jdom.xpath;version="1.1.2" +Require-Bundle: org.apache.xerces;resolution:=optional Name: org/jdom/ diff --git a/jdom.spec b/jdom.spec index 879ba96..569ca60 100644 --- a/jdom.spec +++ b/jdom.spec @@ -1,4 +1,4 @@ -# Copyright (c) 2000-2005, JPackage Project +# Copyright (c) 2000-2012, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -30,7 +30,7 @@ Name: jdom Version: 1.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 0 Summary: Java alternative to DOM and SAX License: ASL 1.1 @@ -39,7 +39,7 @@ Group: Development/Libraries Source0: http://jdom.org/dist/binary/jdom-%{version}.tar.gz Source1: http://repo1.maven.org/maven2/org/jdom/jdom/%{version}/jdom-%{version}.pom Patch0: %{name}-crosslink.patch -Patch1: %{name}-1.0-OSGiManifest.patch +Patch1: %{name}-1.1-OSGiManifest.patch Requires: xalan-j2 >= 0:2.2.0 BuildRequires: ant >= 0:1.6 BuildRequires: xalan-j2 >= 0:2.2.0 @@ -118,6 +118,9 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-jdom.pom %doc LICENSE.txt %changelog +* Fri Apr 13 2012 Krzysztof Daniel 0:1.1.2-3 +- Update OSGI Manifest. + * Fri Jan 13 2012 Fedora Release Engineering - 0:1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild