rpms/tetex/devel tetex-3.0-mktexlsrfix.patch, NONE, 1.1 tetex.spec, 1.103, 1.104

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Dec 20 14:31:13 UTC 2006


Author: jnovy

Update of /cvs/dist/rpms/tetex/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15741

Modified Files:
	tetex.spec 
Added Files:
	tetex-3.0-mktexlsrfix.patch 
Log Message:
- don't inherit incorrect permissions for ls-R from parent
  directory while doing texhash (#220239)


tetex-3.0-mktexlsrfix.patch:
 mktexlsr |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE tetex-3.0-mktexlsrfix.patch ---
--- tetex-src-3.0/texk/kpathsea/mktexlsr.mktexlsrfix	2006-12-20 14:11:38.000000000 +0100
+++ tetex-src-3.0/texk/kpathsea/mktexlsr	2006-12-20 14:51:32.000000000 +0100
@@ -140,7 +140,7 @@
   until PERMS=`kpsestat = "$db_file"`; do sleep 1; done
   chmod $PERMS "$db_file_tmp"
   rm -f "$db_file"
-  install "$db_file_tmp" "$db_file"
+  install -m644 "$db_file_tmp" "$db_file"
   rm -rf "$db_dir_tmp"
 done
 tty -s && echo "$progname: Done." >&2


Index: tetex.spec
===================================================================
RCS file: /cvs/dist/rpms/tetex/devel/tetex.spec,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- tetex.spec	8 Oct 2006 08:09:07 -0000	1.103
+++ tetex.spec	20 Dec 2006 14:31:11 -0000	1.104
@@ -11,7 +11,7 @@
 Summary: The TeX text formatting system.
 Name: tetex
 Version: 3.0
-Release: 33%{?dist}
+Release: 34%{?dist}
 License: distributable
 Group: Applications/Publishing
 Requires: tmpwatch, dialog, ed
@@ -86,6 +86,7 @@
 Patch21: tetex-3.0-dvipdfm.patch
 Patch22: tetex-3.0-selinux.patch
 Patch23: tetex-3.0-footfix.patch
+Patch24: tetex-3.0-mktexlsrfix.patch
 
 ######
 # Japanization patches
@@ -304,6 +305,8 @@
 %patch22 -p1 -b .selinux
 # fix para option in footmisc package (#188701)
 %patch23 -p1 -b .footfix
+# don't inherit incorrect permissions for ls-R from parent directory (#220239)
+%patch24 -p1 -b .mktexlsrfix
 
 %if %{enable_japanese}
 mkdir texmf/ptex-texmf
@@ -688,7 +691,7 @@
 echo "%{_libdir}/libkpathsea.a"			>> filelist.fonts.tmp
 grep %{_includedir}/kpathsea filelist.full	>> filelist.fonts.tmp
 
-cat filelist.fonts.tmp | sort | uniq -u > filelist.fonts
+cat filelist.fonts.tmp | sort -u > filelist.fonts
 
 grep -v "/doc/" filelist.full | grep afm 	> filelist.afm
 
@@ -697,7 +700,7 @@
 # now files listed only once are in the tex package
 cat filelist.full filelist.latex filelist.xdvi filelist.dvips \
    filelist.afm filelist.fonts filelist.doc | \
-   sort | uniq -u > filelist.tex
+   sort -u > filelist.tex
 
 echo "%attr(-,root,root) %dir %{_datadir}/texmf/doc" >> filelist.tex
 
@@ -842,6 +845,10 @@
 %defattr(-,root,root)
 
 %changelog
+* Wed Dec 20 2006 Jindrich Novy <jnovy at redhat.com> 3.0-34
+- don't inherit incorrect permissions for ls-R from parent
+  directory while doing texhash (#220239)
+
 * Sun Oct  8 2006 Jindrich Novy <jnovy at redhat.com> 3.0-33
 - rebuild
 




More information about the fedora-cvs-commits mailing list