fix post/postun scriptlets

This commit is contained in:
Jindrich Novy 2008-01-07 09:39:35 +00:00
parent fd2e10b3c4
commit d566523ad7

View File

@ -4,7 +4,7 @@
Summary: Converts LaTeX documents to HTML Summary: Converts LaTeX documents to HTML
Name: latex2html Name: latex2html
Version: 2002.2.1 Version: 2002.2.1
Release: 7%{?dist} Release: 8%{?dist}
License: Free To Use But Restricted (See LICENSE) License: Free To Use But Restricted (See LICENSE)
Group: Applications/Publishing Group: Applications/Publishing
URL: http://www.latex2html.org/ URL: http://www.latex2html.org/
@ -196,12 +196,10 @@ done
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
exit 0
%postun %postun
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
exit 0
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -226,6 +224,9 @@ exit 0
%{_mandir}/man1/pstoimg.* %{_mandir}/man1/pstoimg.*
%changelog %changelog
* Mon Jan 07 2008 Jindrich Novy <jnovy@redhat.com> 2002.2.1-8
- fix post/postun scriptlets
* Wed Nov 29 2006 Jindrich Novy <jnovy@redhat.com> 2002.2.1-7 * Wed Nov 29 2006 Jindrich Novy <jnovy@redhat.com> 2002.2.1-7
- add dist tag, fix BuildRoot - add dist tag, fix BuildRoot
- fix typo in description - fix typo in description