[Xapian-discuss] Re: Xapian 1.0.1 released
Fabrice Colin
fabrice.colin at gmail.com
Tue Jun 12 15:10:53 BST 2007
On 6/12/07, Olly Betts <olly at survex.com> wrote:
> I've now uploaded Xapian 1.0.1, which you can download from the usual
> place:
>
> http://www.xapian.org/download.php
> ...
> As always, if you encounter problems, please report them here, or to
> the bugtracker.
>
Two buglets crept in the spec file for xapian-bindings : RPM tries to run
"%makeinstall." even though it's commented out, which results in the error
"No rule to make target `install.'", and a "mv" is missing after the check on
_without_tcl8.
Patch follows.
Fabrice
--- xapian-bindings.spec 2007-06-11 11:11:08.000000000 +0800
+++ xapian-bindings.spec 2007-06-12 22:08:16.000000000 +0800
@@ -118,12 +118,12 @@
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p %{buildroot}
# Installation of some files does not obey prefix, so use make install with
-# DESTDIR instead of %makeinstall.
+# DESTDIR instead of makeinstall
make install DESTDIR=%{buildroot}
# Move the docs to the right places.
%{?!_without_python: mv %{buildroot}/usr/share/doc/%{name}/python
%{buildroot}/usr/share/doc/%{name}-python-%{version}}
%{?!_without_php: mv %{buildroot}/usr/share/doc/%{name}/php
%{buildroot}/usr/share/doc/%{name}-php-%{version}}
-%{?!_without_tcl8: %{buildroot}/usr/share/doc/%{name}/tcl8
%{buildroot}/usr/share/doc/%{name}-tcl8-%{version}}
+%{?!_without_tcl8: mv %{buildroot}/usr/share/doc/%{name}/tcl8
%{buildroot}/usr/share/doc/%{name}-tcl8-%{version}}
%{?!_without_csharp: mv %{buildroot}/usr/share/doc/%{name}/csharp
%{buildroot}/usr/share/doc/%{name}-csharp-%{version}}
%clean
More information about the Xapian-discuss
mailing list