|
@@ -1,10 +1,13 @@
|
|
|
%define ver 1.18.1
|
|
|
+# clean old caches when groff =< %{cache_clean_ver}
|
|
|
+# is uninstalled.
|
|
|
+%define cache_clean_ver 1.18.1.1-4%{?_dist_release}
|
|
|
|
|
|
Summary: A document formatting system.
|
|
|
Summary(ja): GNU groff 日本語対応版
|
|
|
Name: groff
|
|
|
Version: 1.18.1.1
|
|
|
-Release: 4%{?_dist_release}
|
|
|
+Release: 5%{?_dist_release}
|
|
|
License: GPL
|
|
|
Group: Applications/Publishing
|
|
|
|
|
@@ -159,6 +162,8 @@ if [ "$1" = 0 ]; then
|
|
|
--info-dir=%{_infodir} %{_infodir}/groff.gz
|
|
|
fi
|
|
|
|
|
|
+%triggerpostun -- %{name} <= %{cache_clean_ver}
|
|
|
+find %{_var}/cache/man -type f -name "*.bz2" -exec %{__rm} -f {} \;
|
|
|
|
|
|
# -f groff-files
|
|
|
%files
|
|
@@ -196,8 +201,11 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Apr 02 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.18.1.1-5
|
|
|
+- add %posttriggerun to clean old caches (<BTS:VineLinux:960>)
|
|
|
+
|
|
|
* Tue Mar 23 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.18.1.1-4
|
|
|
-- add Patch2 to fix minus/hyphen character width
|
|
|
+- add Patch2 to fix minus/hyphen character width (<BTS:VineLinux:960>)
|
|
|
- add BuildRequires: psutils, byacc, imake, netpbm-progs, ghostscript
|
|
|
|
|
|
* Tue Apr 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.18.1.1-3
|