[Xapian-discuss] Re: quick-and-dirty web search for a bunch
Fabrice Colin
fabrice.colin at gmail.com
Wed May 17 13:49:11 BST 2006
On 5/17/06, I wrote:
> Ooh it might be because whatever is moved to
> %{buildroot}/usr/share/doc/%{name}-%{version}
> is overwritten by the "%doc AUTHORS README ..." in the %files section.
> I'll have a look when I am back home...
>
It turns out my suspicion was correct. I have fixed the spec file and rebuilt
the xapian-omega RPM (now at release 2).
Olly, could you commit the following patch ? Thanks.
--- omega.spec.in_bak 2006-05-17 20:41:42.000000000 +0800
+++ omega.spec.in 2006-05-17 20:42:22.000000000 +0800
@@ -52,6 +52,7 @@
mv %{buildroot}/usr/share/omega %{buildroot}%{_datadir}/%{name}
# Move the docs to the right place
mv %{buildroot}/usr/share/doc/omega
%{buildroot}/usr/share/doc/%{name}-%{version}
+cp AUTHORS ChangeLog COPYING NEWS README TODO
%{buildroot}/usr/share/doc/%{name}-%{version}
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
@@ -69,8 +70,7 @@
/var/www/icons/omega
%{_datadir}/%{name}
%config(noreplace) /etc/omega.conf
-%docdir /usr/share/doc/%{name}-%{version}
-%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%doc %{_datadir}/doc/%{name}-%{version}
# man pages may be gzipped, hence the trailing wildcard.
%{_mandir}/man1/omindex.1*
%{_mandir}/man1/scriptindex.1*
Fabrice
More information about the Xapian-discuss
mailing list