rpms/latex2html/devel latex2html.spec,1.1,1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue May 3 13:43:16 UTC 2005


Author: jnovy

Update of /cvs/dist/rpms/latex2html/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19032

Modified Files:
	latex2html.spec 
Log Message:

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




Index: latex2html.spec
===================================================================
RCS file: /cvs/dist/rpms/latex2html/devel/latex2html.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- latex2html.spec	16 Mar 2005 11:38:16 -0000	1.1
+++ latex2html.spec	3 May 2005 13:43:14 -0000	1.2
@@ -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 @@
 %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 @@
 %endif
 
 %changelog
+* Tue May  3 2005 Jindrich Novy <jnovy at redhat.com> 2002.2.1-2
+- run texhash in the %%post and %%postun phase (#156660)
+
 * Fri Mar 15 2005 Jindrich Novy <jnovy at redhat.com> 2002.2.1-1
 - create backups for patches
 - update Source1




More information about the fedora-cvs-commits mailing list