[Xapian-discuss] Xapian 0.8.2 released

Olly Betts olly at survex.com
Tue Sep 14 03:08:30 BST 2004


On Mon, Sep 13, 2004 at 07:10:05PM +0100, Fabrice Colin wrote:
> --- omega-0.8.2/omega.spec      2004-09-13 05:20:59.000000000 +0100
> +++ omega.spec  2004-09-13 18:39:56.065401560 +0100
> @@ -48,6 +48,9 @@
>  # Configuration file
>  mkdir -p %{buildroot}/etc
>  install -D -m644 omega.conf %{buildroot}/etc/omega.conf
> +# move the htdig2omega script to the right place
> +mkdir -p %{buildroot}%{_datadir}/%{name}
> +mv %{buildroot}/usr/share/htdig2omega.script 
> %{buildroot}%{_datadir}/%{name}
>  # move the docs to the right place
>  mv %{buildroot}/usr/share/doc/%{name} 
> %{buildroot}/usr/share/doc/%{name}-%{version}

Instead of applying this hunk, I've changed Makefile.am so that
htdig2omega.script will be installed in $prefix/share/omega/ instead of
$prefix/share/ since the latter is wrong for everybody, not just RPM
using Linux distros!

> @@ -59,11 +62,12 @@
>  %{_bindir}/dbi2omega
>  %{_bindir}/omindex
>  %{_bindir}/scriptindex
> +%{_bindir}/htdig2omega
>  %{contentdir}/omega
>  /var/www/cgi-bin/omega
>  /var/www/icons/omega
> +%{_datadir}/%{name}/htdig2omega.script
>  %docdir /usr/share/doc/%{name}-%{version}
> -
>  %config(noreplace) /etc/omega.conf
> 
>  %doc AUTHORS ChangeLog COPYING NEWS README TODO

I've applied this hunk.  Thanks.

Cheers,
    Olly



More information about the Xapian-discuss mailing list