rpms/linuxdoc-tools/devel linuxdoc-tools.spec,1.29,1.30

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Fri Jan 4 12:34:25 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/linuxdoc-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31596

Modified Files:
	linuxdoc-tools.spec 
Log Message:
texconfig-sys rehash in postun, removal of texhash in post and postun


Index: linuxdoc-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/linuxdoc-tools/devel/linuxdoc-tools.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- linuxdoc-tools.spec	4 Jan 2008 09:54:23 -0000	1.29
+++ linuxdoc-tools.spec	4 Jan 2008 12:33:45 -0000	1.30
@@ -3,7 +3,7 @@
 Summary: A text formatting package based on SGML
 Name: linuxdoc-tools
 Version: 0.9.21
-Release: 13%{?dist}
+Release: 14%{?dist}
 License: Freely redistributable without restriction
 Group: Applications/Publishing
 Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}.tar.gz
@@ -82,12 +82,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
-[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash > /dev/null 2>&1
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
 exit 0
 
 %postun
-[ -x %{_bindir}/texhash ] && /usr/bin/env - %{_bindir}/texhash > /dev/null 2>&1
+[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || :
 exit 0
 
 %files
@@ -102,6 +101,10 @@
 %{_mandir}/*/*
 
 %changelog
+* Fri Jan 04 2008 Ondrej Vasik <ovasik at redhat.com> 0.9.21-14
+- texconfig-sys rehash in postun, removal of texhash in post
+  and postun(discussed with Jindrich Novy)
+
 * Thu Jan 03 2008 Ondrej Vasik <ovasik at redhat.com> 0.9.21-13
 - running texconfig-sys rehash in post to let latex know 
   about new style installed by linuxdoctools




More information about the fedora-extras-commits mailing list