diff --git a/xapian-core.spec b/xapian-core.spec index 6d2c7c0..6299234 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -5,7 +5,7 @@ Name: xapian-core Version: 1.2.7 Release: 0 -License: GPL +License: GPLv2 Summary: The Xapian Probabilistic Information Retrieval Library Url: http://www.xapian.org/ Group: Productivity/Databases/Servers @@ -79,7 +79,7 @@ make %{?_smp_mflags} %install %makeinstall docdatadir=%{_docdir}/%{name} rm -rf examples/{.libs,.deps,.dirstamp,*.o,quest,delve,simplesearch,simpleexpand,simpleindex,copydatabase} -cp -vr ChangeLog.examples HACKING PLATFORMS examples %{buildroot}%{_docdir}/%{name}/ +cp -vr examples %{buildroot}%{_docdir}/%{name}/ find . -name \*.spec -delete fdupes %{buildroot}%{_defaultdocdir}/%{name} @@ -92,7 +92,7 @@ rm -rf %{buildroot} %files %defattr(-, root, root) -%doc AUTHORS COPYING ChangeLog INSTALL README NEWS +%doc AUTHORS COPYING ChangeLog INSTALL README NEWS HACKING PLATFORMS %{_bindir}/xapian-tcpsrv %{_bindir}/xapian-progsrv %{_bindir}/quest @@ -143,13 +143,10 @@ rm -rf %{buildroot} %doc %{_docdir}/%{name}/*.html %doc %{_docdir}/%{name}/apidoc* %dir %{_docdir}/%{name}/ -%doc %{_docdir}/%{name}/ChangeLog.examples -%doc %{_docdir}/%{name}/HACKING -%doc %{_docdir}/%{name}/NEWS -%doc %{_docdir}/%{name}/PLATFORMS %files examples %defattr(-, root, root) +%doc ChangeLog.examples %doc %{_docdir}/%{name}/examples/ %changelog