rpms/man/F-11 man.spec,1.80,1.81
Lubomir Rintel
lkundrak at fedoraproject.org
Tue Apr 21 12:46:41 UTC 2009
- Previous message: rpms/glib/F-10 glib-1.2.10-unused-dep.patch, NONE, 1.1 glib.spec, 1.12, 1.13
- Next message: rpms/cups/F-10 .cvsignore, 1.42, 1.43 cups-lspp.patch, 1.38, 1.39 cups-no-gzip-man.patch, 1.1, 1.2 cups-serverbin-compat.patch, 1.4, 1.5 cups-str2536.patch, 1.1, 1.2 cups.spec, 1.457, 1.458 sources, 1.45, 1.46 cups-CVE-2008-5183.patch, 1.1, NONE cups-CVE-2008-5286.patch, 1.1, NONE cups-ext.patch, 1.1, NONE cups-includeifexists.patch, 1.1, NONE cups-str2988.patch, 1.1, NONE cups-str3059.patch, 1.1, NONE cups-str3077.patch, 1.1, NONE cups-str3078.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lkundrak
Update of /cvs/pkgs/rpms/man/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15853/F-11
Modified Files:
man.spec
Log Message:
* Tue Apr 21 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.6f-20
- Don't remove cache and whatis database on updates
- Ghost whatis database
Index: man.spec
===================================================================
RCS file: /cvs/pkgs/rpms/man/F-11/man.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- man.spec 21 Apr 2009 05:00:59 -0000 1.80
+++ man.spec 21 Apr 2009 12:46:09 -0000 1.81
@@ -4,7 +4,7 @@
Summary: A set of documentation tools: man, apropos and whatis
Name: man
Version: 1.6f
-Release: 19%{?dist}
+Release: 20%{?dist}
License: GPLv2
Group: System Environment/Base
@@ -192,6 +192,7 @@
install -m755 %{SOURCE4} $RPM_BUILD_ROOT/%{_libexecdir}/man-cmp.sh
mkdir -p $RPM_BUILD_ROOT/%{cache}
+touch $RPM_BUILD_ROOT/%{cache}/whatis
mkdir -p $RPM_BUILD_ROOT/%{cache}/local
mkdir -p $RPM_BUILD_ROOT/%{cache}/X11R6
@@ -227,17 +228,10 @@
rm -rf $RPM_BUILD_ROOT%{_prefix}/etc
%preun
+[ $1 = 0 ] || exit 0
rm -f %{cache}/cat[123456789n]/* 2>/dev/null || :
rm -f %{cache}/local/cat[123456789n]/* 2>/dev/null || :
rm -f %{cache}/X11R6/cat[123456789n]/* 2>/dev/null || :
-rm -f %{cache}/whatis 2>/dev/null || :
-
-%triggerpostun -- man <= 1.5i2-0
-rm -f %{cache}/cat[123456789n]/* 2>/dev/null || :
-rm -f %{cache}/local/cat[123456789n]/* 2>/dev/null || :
-rm -f %{cache}/X11R6/cat[123456789n]/* 2>/dev/null || :
-rm -f %{cache}/whatis 2>/dev/null || :
-exit 0
%clean
@@ -261,6 +255,7 @@
%{_mandir}/man5/man.config.5*
%{_mandir}/man1/*
%{_mandir}/man8/makewhatis.8*
+%ghost %{cache}/whatis
%attr(0755,root,root) %dir %{cache}
%attr(0755,root,man) %dir %{cache}/cat[123456789n]
%attr(0755,root,man) %dir %{cache}/local
@@ -270,6 +265,10 @@
%changelog
+* Tue Apr 21 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.6f-20
+- Don't remove cache and whatis database on updates
+- Ghost whatis database
+
* Tue Apr 21 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.6f-19
- The daily cron job is not a configuration file
- Previous message: rpms/glib/F-10 glib-1.2.10-unused-dep.patch, NONE, 1.1 glib.spec, 1.12, 1.13
- Next message: rpms/cups/F-10 .cvsignore, 1.42, 1.43 cups-lspp.patch, 1.38, 1.39 cups-no-gzip-man.patch, 1.1, 1.2 cups-serverbin-compat.patch, 1.4, 1.5 cups-str2536.patch, 1.1, 1.2 cups.spec, 1.457, 1.458 sources, 1.45, 1.46 cups-CVE-2008-5183.patch, 1.1, NONE cups-CVE-2008-5286.patch, 1.1, NONE cups-ext.patch, 1.1, NONE cups-includeifexists.patch, 1.1, NONE cups-str2988.patch, 1.1, NONE cups-str3059.patch, 1.1, NONE cups-str3077.patch, 1.1, NONE cups-str3078.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list