rpms/waf/F-8 waf-1.3.2-latex.patch,NONE,1.1 waf.spec,1.1,1.2

Thomas Moschny (thm) fedora-extras-commits at redhat.com
Sat Apr 19 09:19:43 UTC 2008


Author: thm

Update of /cvs/pkgs/rpms/waf/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15278/F-8

Modified Files:
	waf.spec 
Added Files:
	waf-1.3.2-latex.patch 
Log Message:
Upstream patch to fix latex dependency scanning: trunk rev 2340.

waf-1.3.2-latex.patch:

--- NEW FILE waf-1.3.2-latex.patch ---
Index: wafadmin/Tools/tex.py
===================================================================
--- wafadmin/Tools/tex.py	(Revision 2338)
+++ wafadmin/Tools/tex.py	(Revision 2339)
@@ -2,7 +2,7 @@
 # encoding: utf-8
 # Thomas Nagy, 2006 (ita)
 
-"LaTeX/PDFLaTeX support"
+"TeX/LaTeX/PDFLaTeX support"
 
 import os, re
 import Utils, Params, Action, Object, Runner, Scan
@@ -33,14 +33,14 @@
 					# add another loop for the tex include paths?
 					debug("trying %s%s" % (path, k), 'tex')
 					try:
-						os.stat(path+k)
+						os.stat(abs+os.sep+path+k)
 					except OSError:
 						continue
 					found = path+k
 					node = curdirnode.find_source(found)
 					nodes.append(node)
 				else:
-					debug('could not find'+path, 'tex')
+					debug('could not find %s' % path, 'tex')
 					names.append(path)
 
 		debug("found the following : %s and names %s" % (nodes, names), 'tex')
@@ -59,11 +59,8 @@
 		exec_cmd = Runner.exec_command
 		com = '%s %s %s' % (env[command], env.get_flat(command+'FLAGS'), '-interaction=batchmode')
 
-
 	node = task.m_inputs[0]
 	reldir  = node.bld_dir(env)
-
-
 	srcfile = node.srcpath(env)
 
 	lst = []


Index: waf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/waf/F-8/waf.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- waf.spec	12 Feb 2008 08:41:26 -0000	1.1
+++ waf.spec	19 Apr 2008 09:19:08 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           waf
 Version:        1.3.2
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        A Python-based build system
 
 Group:          Development/Tools
@@ -10,6 +10,7 @@
 Source0:        http://waf.googlecode.com/files/waf-%{version}.tar.bz2
 # use _datadir instead of /usr/lib
 Patch0:         waf-1.3.2-libdir.patch
+Patch1:         waf-1.3.2-latex.patch
 
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch:      noarch
@@ -33,6 +34,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .libdir
+%patch1 -p0 -b .latex
 
 
 %build
@@ -72,6 +74,9 @@
 
 
 %changelog
+* Wed Apr  9 2008 Thomas Moschny <thomas.moschny at gmx.de> - 1.3.2-6
+- Upstream patch to fix latex dependency scanning: trunk rev 2340.
+
 * Sun Feb 10 2008 Thomas Moschny <thomas.moschny at gmx.de> - 1.3.2-5
 - Update to 1.3.2.
 - Remove version and revision information from path to waf cache.




More information about the fedora-extras-commits mailing list