[Xapian-discuss] Xapian 1.2.4 released

Tim Brody tdb2 at ecs.soton.ac.uk
Wed Jan 19 11:40:20 GMT 2011


On Wed, 2011-01-19 at 03:37 +0000, Olly Betts wrote:
> On Tue, Jan 18, 2011 at 03:23:14PM +0000, Tim Brody wrote:
> > It looks like outlookmsg2html is going to the wrong place on install:
> > /usr/lib64/xapian-omega/outlookmsg2html
> 
> Hmm, did you miss out a "bin" directory there?
> 
> > It's turning up as an unknown file in the rpm spec. 'omega' is also
> > being installed there, which doesn't seem right for /lib64?
> 
> Well, the lib64 is thanks to RPM - by default this is under
> <prefix>/lib.
> 
> Arguably libexecdir would be a more appropriate location, though
> outlookmsg2html is actually an arch-independent script so probably
> should be under /usr/share.
> 
> To be useful, the omega CGI actually needs to go wherever CGI scripts go
> for the distro, or else to be copied/linked/symlinked by the user to
> where it is wanted, but the former isn't possible to automatically
> determine AFAIK, and the latter certainly isn't.  I don't know what RHEL
> or Fedora does, but for Debian and Ubuntu the CGI is packaged as:
> 
> /usr/lib/cgi-bin/omega/omega
> 
> Anyway, for now I would just move them somewhere suitable in the spec
> file after "make install".

I've modified the .spec like so:
# Move the scripts to the right place
mv %{buildroot}%{_libdir}/xapian-omega/bin/outlookmsg2html
%{buildroot}/usr/share/omega
mv %{buildroot}/usr/share/omega %{buildroot}%{_datadir}/%{name}

And updated rpm.eprints.org/xapian to 1.2.4.

All the best,
Tim.





More information about the Xapian-discuss mailing list