rpms/latex2html/devel latex2html.spec,1.9,1.10

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Mon Jan 7 09:40:13 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/latex2html/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32049

Modified Files:
	latex2html.spec 
Log Message:
fix post/postun scriptlets



Index: latex2html.spec
===================================================================
RCS file: /cvs/extras/rpms/latex2html/devel/latex2html.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- latex2html.spec	29 Nov 2006 09:19:42 -0000	1.9
+++ latex2html.spec	7 Jan 2008 09:39:35 -0000	1.10
@@ -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 @@
 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 @@
 %{_mandir}/man1/pstoimg.*
 
 %changelog
+* Mon Jan 07 2008 Jindrich Novy <jnovy at redhat.com> 2002.2.1-8
+- fix post/postun scriptlets
+
 * Wed Nov 29 2006 Jindrich Novy <jnovy at redhat.com> 2002.2.1-7
 - add dist tag, fix BuildRoot
 - fix typo in description




More information about the fedora-extras-commits mailing list