- run texhash in %%post and %%postun phase (#156660)

This commit is contained in:
Jindrich Novy 2005-05-03 13:43:14 +00:00
parent 11064fa13e
commit 54b241fd06

View File

@ -4,7 +4,7 @@
Summary: Converts LaTeX documents to HTML
Name: latex2html
Version: 2002.2.1
Release: 1
Release: 2
License: Free To Use But Restricted (See LICENSE)
Group: Applications/Publishing
URL: http://www.latex2html.org/
@ -172,6 +172,13 @@ popd
%clean
rm -rf $RPM_BUILD_ROOT
%post
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
exit 0
%postun
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
exit 0
%files
%defattr(-,root,root,-)
@ -193,6 +200,9 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Tue May 3 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-2
- run texhash in the %%post and %%postun phase (#156660)
* Fri Mar 15 2005 Jindrich Novy <jnovy@redhat.com> 2002.2.1-1
- create backups for patches
- update Source1