running texconfig-sys rehash in post to let latex know about new style

This commit is contained in:
Ondrej Vasik 2008-01-04 09:54:23 +00:00
parent 058f1fc070
commit ce497316d8

View File

@ -3,7 +3,7 @@
Summary: A text formatting package based on SGML
Name: linuxdoc-tools
Version: 0.9.21
Release: 12%{?dist}
Release: 13%{?dist}
License: Freely redistributable without restriction
Group: Applications/Publishing
Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}.tar.gz
@ -82,6 +82,7 @@ EOF
rm -rf $RPM_BUILD_ROOT
%post
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash > /dev/null 2>&1
exit 0
@ -101,6 +102,10 @@ exit 0
%{_mandir}/*/*
%changelog
* Thu Jan 03 2008 Ondrej Vasik <ovasik@redhat.com> 0.9.21-13
- running texconfig-sys rehash in post to let latex know
about new style installed by linuxdoctools
* Mon Nov 12 2007 Ondrej Vasik <ovasik@redhat.com> 0.9.21-12
- versioned obsoletes were before Version definition(#376671)