[Xapian-discuss] Re: 1.0 news, and a call for testing
Fabrice Colin
fabrice.colin at gmail.com
Sun May 6 06:02:48 BST 2007
Hi,
On 4/28/07, Olly Betts <olly at survex.com> wrote:
> So I'd like to encourage you all to download snapshot tarballs from SVN
> trunk and try your applications with them:
>
> http://www.oligarchy.co.uk/xapian/trunk/
>
> Note that unfortunately flint databases from 0.9.X aren't compatible
> with SVN trunk (I'd like to provide a "flint upgrade" utility, but I
> want to get 1.0.0 out first) so for now build a fresh database when
> testing the snapshots. Flint is now the default database, so
> "XAPIAN_PREFER_FLINT" is no longer required).
>
> I'm about to leave for a long weekend, but send any feedback in to the
> list and I'll read it on Tuesday.
>
Sorry for the late reply, I was away last week.
I have just tried the SVN 8400 snapshots and found two issues with RPM
packaging.
- omega.spec needs to be patched (see end of this email) because the source
is now tarballed as xapian-omega.
- shouldn't the bindings be numbered 0.9.10_svnXXX instead of 0.9.10.1_svnXXX ?
This messes up dependencies.
I'll try the current snapshots during the week and report any problem
I run into.
Cheers.
Fabrice
--- omega.spec 2007-04-28 18:30:56.000000000 +0800
+++ omega.spec 2007-05-06 12:46:21.000000000 +0800
@@ -15,7 +15,7 @@
Requires: xapian-core-libs = %{version}, webserver
BuildRequires: xapian-core-devel = %{version}
BuildRequires: autoconf automake libtool
-Source0: http://www.oligarchy.co.uk/xapian/%{version}/omega-%{version}.tar.gz
+Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
@@ -23,7 +23,7 @@
library to index and search collections of documents.
%prep
-%setup -q -n omega-%{version}
+%setup -q
%build
# FC6 (at least) has a patched libtool which knows not to set rpath for
@@ -41,7 +41,7 @@
%makeinstall
# CGI application
mkdir -p %{buildroot}/var/www/cgi-bin/
-mv %{buildroot}%{_libdir}/omega/bin/omega %{buildroot}/var/www/cgi-bin
+mv %{buildroot}%{_libdir}/xapian-omega/bin/omega %{buildroot}/var/www/cgi-bin
# Create /var directories
mkdir -p %{buildroot}%{contentdir}/omega/data
mkdir -p %{buildroot}%{contentdir}/omega/cdb
More information about the Xapian-discuss
mailing list