fix post/postun scriptlets
This commit is contained in:
parent
fd2e10b3c4
commit
d566523ad7
@ -4,7 +4,7 @@
|
||||
Summary: Converts LaTeX documents to HTML
|
||||
Name: latex2html
|
||||
Version: 2002.2.1
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
License: Free To Use But Restricted (See LICENSE)
|
||||
Group: Applications/Publishing
|
||||
URL: http://www.latex2html.org/
|
||||
@ -196,12 +196,10 @@ done
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
|
||||
exit 0
|
||||
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
|
||||
|
||||
%postun
|
||||
[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash 2> /dev/null
|
||||
exit 0
|
||||
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
@ -226,6 +224,9 @@ exit 0
|
||||
%{_mandir}/man1/pstoimg.*
|
||||
|
||||
%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
|
||||
- add dist tag, fix BuildRoot
|
||||
- fix typo in description
|
||||
|
Loading…
Reference in New Issue
Block a user