clear the old man cache on install or update
This commit is contained in:
Peter Schiffer 2012-07-12 17:12:54 +02:00
parent 11f6dece83
commit 900f97673f

View File

@ -4,7 +4,7 @@
Summary: Tools for searching and reading man pages Summary: Tools for searching and reading man pages
Name: man-db Name: man-db
Version: 2.6.2 Version: 2.6.2
Release: 1%{?dist} Release: 2%{?dist}
# project man-db GPLv2+ # project man-db GPLv2+
# Gnulib part GPLv3+ # Gnulib part GPLv3+
License: GPLv2+ and GPLv3+ License: GPLv2+ and GPLv3+
@ -82,9 +82,9 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db
%find_lang %{name} %find_lang %{name}
%find_lang %{name}-gnulib %find_lang %{name}-gnulib
# update the man db after install or update # clear the old cache
%post %post
/bin/bash %{_sysconfdir}/cron.daily/man-db.cron %{__rm} -rf %{cache}/*
%files -f %{name}.lang -f %{name}-gnulib.lang %files -f %{name}.lang -f %{name}-gnulib.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -121,6 +121,10 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db
%lang(it) %{_datadir}/man/it/man*/* %lang(it) %{_datadir}/man/it/man*/*
%changelog %changelog
* Thu Jul 12 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-2
- resolves: #829553
clear the old man cache on install or update
* Tue Jul 10 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-1 * Tue Jul 10 2012 Peter Schiffer <pschiffe@redhat.com> - 2.6.2-1
- resolves: #833312 - resolves: #833312
update to 2.6.2 update to 2.6.2