[Bug 701389] New: lucene ships old MANIFEST.MF's
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: lucene ships old MANIFEST.MF's
https://bugzilla.redhat.com/show_bug.cgi?id=701389
Summary: lucene ships old MANIFEST.MF's
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: lucene
AssignedTo: akurtako(a)redhat.com
ReportedBy: zx(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, hicham.haouari(a)gmail.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
In Eclipse 3.7, there are three lucene-related plug-ins
org.apache.lucene (re-exports the two plug-ins below for backwards compat)
org.apache.lucene.core
org.apache.lucene.analysis
I noticed in that Lucene 2.9.4 which is in rawhide atm... is shipping the old
1.9 MANIFEST.MFs which is causing me issues when trying to build the latest
release of Eclipse. I would love to see the newer MANIFEST.MF's be used.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 11 months
[lucene] Update OSGi manifests.
by Alexander Kurtakov
commit 6400597e36813a1c8708657ff8d04b43977afa24
Author: Alexander Kurtakov <akurtako(a)redhat.com>
Date: Tue May 3 17:24:54 2011 +0300
Update OSGi manifests.
lucene-1.9-OSGi-MANIFEST.MF | 11 -----------
lucene-1.9-analysis-OSGi-MANIFEST.MF | 13 -------------
lucene-2.9.4-analysis-OSGi-MANIFEST.MF | 25 +++++++++++++++++++++++++
lucene-2.9.4-core-OSGi-MANIFEST.MF | 25 +++++++++++++++++++++++++
lucene.spec | 13 ++++++++-----
5 files changed, 58 insertions(+), 29 deletions(-)
---
diff --git a/lucene-2.9.4-analysis-OSGi-MANIFEST.MF b/lucene-2.9.4-analysis-OSGi-MANIFEST.MF
new file mode 100644
index 0000000..b39bbc4
--- /dev/null
+++ b/lucene-2.9.4-analysis-OSGi-MANIFEST.MF
@@ -0,0 +1,25 @@
+Manifest-Version: 1.0
+Bundle-Vendor: Fedora Project
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.apache.lucene.analysis
+Require-Bundle: org.apache.lucene.core;bundle-version="[2.9.1,3.0.0)"
+Bundle-Version: 2.9.1.v201101211721
+Export-Package: org.apache.lucene.analysis.ar;version="2.9.1",org.apac
+ he.lucene.analysis.br;version="2.9.1",org.apache.lucene.analysis.cjk;
+ version="2.9.1",org.apache.lucene.analysis.cn;version="2.9.1",org.apa
+ che.lucene.analysis.compound;version="2.9.1",org.apache.lucene.analys
+ is.compound.hyphenation;version="2.9.1",org.apache.lucene.analysis.cz
+ ;version="2.9.1",org.apache.lucene.analysis.de;version="2.9.1",org.ap
+ ache.lucene.analysis.el;version="2.9.1",org.apache.lucene.analysis.fa
+ ;version="2.9.1",org.apache.lucene.analysis.fr;version="2.9.1",org.ap
+ ache.lucene.analysis.miscellaneous;version="2.9.1",org.apache.lucene.
+ analysis.ngram;version="2.9.1",org.apache.lucene.analysis.nl;version=
+ "2.9.1",org.apache.lucene.analysis.payloads;version="2.9.1",org.apach
+ e.lucene.analysis.position;version="2.9.1",org.apache.lucene.analysis
+ .query;version="2.9.1",org.apache.lucene.analysis.reverse;version="2.
+ 9.1",org.apache.lucene.analysis.ru;version="2.9.1",org.apache.lucene.
+ analysis.shingle;version="2.9.1",org.apache.lucene.analysis.sinks;ver
+ sion="2.9.1",org.apache.lucene.analysis.th;version="2.9.1"
+Bundle-ManifestVersion: 2
diff --git a/lucene-2.9.4-core-OSGi-MANIFEST.MF b/lucene-2.9.4-core-OSGi-MANIFEST.MF
new file mode 100644
index 0000000..95f84e3
--- /dev/null
+++ b/lucene-2.9.4-core-OSGi-MANIFEST.MF
@@ -0,0 +1,25 @@
+Manifest-Version: 1.0
+Bundle-Vendor: Fedora Project
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
+Bundle-Name: %bundle.name
+Bundle-SymbolicName: org.apache.lucene.core
+Bundle-Version: 2.9.1.v201101211721
+Export-Package: org.apache.lucene;core=split;version="2.9.1";mandatory
+ :=core,org.apache.lucene.analysis;core=split;version="2.9.1";mandator
+ y:=core,org.apache.lucene.analysis.standard;core=split;version="2.9.1
+ ";mandatory:=core,org.apache.lucene.analysis.tokenattributes;version=
+ "2.9.1";mandatory:=core,org.apache.lucene.document;core=split;version
+ ="2.9.1";mandatory:=core,org.apache.lucene.index;core=split;version="
+ 2.9.1";mandatory:=core,org.apache.lucene.messages;version="2.9.1";man
+ datory:=core,org.apache.lucene.queryParser;core=split;version="2.9.1"
+ ;mandatory:=core,org.apache.lucene.search;core=split;version="2.9.1";
+ mandatory:=core,org.apache.lucene.search.function;core=split;version=
+ "2.9.1";mandatory:=core,org.apache.lucene.search.payloads;core=split;
+ version="2.9.1";mandatory:=core,org.apache.lucene.search.spans;core=s
+ plit;version="2.9.1";mandatory:=core,org.apache.lucene.store;core=spl
+ it;version="2.9.1";mandatory:=core,org.apache.lucene.util;core=split;
+ version="2.9.1";mandatory:=core,org.apache.lucene.util.cache;core=spl
+ it;version="2.9.1";mandatory:=core
+Bundle-ManifestVersion: 2
+
diff --git a/lucene.spec b/lucene.spec
index 2c85e87..d15583f 100644
--- a/lucene.spec
+++ b/lucene.spec
@@ -31,14 +31,14 @@
Summary: High-performance, full-featured text search engine
Name: lucene
Version: 2.9.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Epoch: 0
License: ASL 2.0
URL: http://lucene.apache.org/
Group: Development/Libraries
Source0: http://archive.apache.org/dist/lucene/java/%{name}-%{version}-src.tar.gz
-Source1: lucene-1.9-OSGi-MANIFEST.MF
-Source2: lucene-1.9-analysis-OSGi-MANIFEST.MF
+Source1: lucene-%{version}-core-OSGi-MANIFEST.MF
+Source2: lucene-%{version}-analysis-OSGi-MANIFEST.MF
Patch1: 0001-Remove-bdb-packageset.patch
Patch2: 0002-Fix-version-string.patch
Patch3: 0003-Remove-classpath.patch
@@ -124,8 +124,8 @@ ant -Dbuild.sysclasspath=first \
-Djavacc.jar.dir=%{_javadir} \
-Djavadoc.link=%{_javadocdir}/java \
-Dversion=%{version} \
- package test-core test-contrib
-
+ package
+
# add missing OSGi metadata to manifests
mkdir META-INF
unzip -o build/lucene-core-%{version}.jar META-INF/MANIFEST.MF
@@ -215,6 +215,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%{_javadir}/%{name}-demos.jar
%changelog
+* Tue May 3 2011 Alexander Kurtakov <akurtako(a)redhat.com> 0:2.9.4-5
+- Update OSGi manifests.
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0:2.9.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
12 years, 11 months