From 8e4dee2ec4e2dc764d2a00bb65ad9017e020333f Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Tue, 23 Nov 2010 15:03:43 +0100 Subject: [PATCH] update to 2.5.9 --- man-db.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/man-db.spec b/man-db.spec index 5889f6e..a15a454 100644 --- a/man-db.spec +++ b/man-db.spec @@ -2,8 +2,8 @@ Summary: Tools for searching and reading man pages Name: man-db -Version: 2.5.7 -Release: 8%{?dist} +Version: 2.5.9 +Release: 1%{?dist} # project man-db GPLv2+ # Gnulib part GPLv3+ License: GPLv2+ and GPLv3+ @@ -12,7 +12,7 @@ URL: http://www.nongnu.org/man-db/ Source0: http://mirrors.igsobe.com/nongnu/man-db/%{name}-%{version}.tar.gz Source1: man-db.crondaily Source2: man-db.sysconfig -# this patch adds cron job which daily update whatis database +Patch0: man-db-2.5.9-config.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Obsoletes: man < 2.0 Provides: man-pages-reader = %{version} @@ -31,6 +31,7 @@ manual pages. %prep %setup -q +%patch0 -p1 -b .conf %build %configure\ @@ -58,6 +59,9 @@ rm $RPM_BUILD_ROOT%{_mandir}/de/man5/manpath.5 rm $RPM_BUILD_ROOT%{_mandir}/de/man8/catman.8 rm $RPM_BUILD_ROOT%{_mandir}/de/man8/mandb.8 +# remove libtool archives +rm $RPM_BUILD_ROOT%{_libdir}/man-db/*.la + # install cache directory install -d -m 0755 $RPM_BUILD_ROOT%{cache} @@ -87,6 +91,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/lexgrog %{_bindir}/catman %{_bindir}/mandb +%{_libdir}/man-db/*.so %dir %{_libexecdir}/man-db %{_libexecdir}/man-db/globbing %{_libexecdir}/man-db/manconv @@ -104,11 +109,13 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/mandb.8* %lang(de) %{_datadir}/man/de/man*/* %lang(es) %{_datadir}/man/es/man*/* -%lang(fr) %{_datadir}/man/fr/man*/* %lang(it) %{_datadir}/man/it/man*/* %lang(ja) %{_datadir}/man/ja/man*/* %changelog +* Mon Nov 22 2010 Ivana Hutarova Varekova - 2.5.9-1 +- update to 2.5.9 + * Fri Oct 1 2010 Ivana Hutarova Varekova - 2.5.7-8 - add less buildrequire