[yum-cvs] yum/rpmUtils Makefile,1.2,1.3

Seth Vidal skvidal at linux.duke.edu
Wed May 16 13:21:08 UTC 2007


Update of /home/groups/yum/cvs/yum/rpmUtils
In directory login1.linux.duke.edu:/tmp/cvs-serv3280/rpmUtils

Modified Files:
	Makefile 
Log Message:
fix from Christoph Thiel and Jan Matejek
"The problem is that when precompiling python files, the compiler needs
to know their "base path" which will be used in debug outputs (such as
the backtrace). Without this patch, makefile sets $(PYDIR) as the base
path, but $(PYDIR) isn't defined and the base path stays empty.
(some of our python builds apparently can't deal with it and use PIL's
base path instead) The patch replaces $(PYDIR) with correct value,
$(PKGDIR)."




Index: Makefile
===================================================================
RCS file: /home/groups/yum/cvs/yum/rpmUtils/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile	25 Feb 2005 07:46:51 -0000	1.2
+++ Makefile	16 May 2007 13:21:06 -0000	1.3
@@ -17,4 +17,4 @@
 	for p in $(PYFILES) ; do \
 		install -m 644 $$p $(DESTDIR)/$(PKGDIR)/$$p; \
 	done
-	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/$(PKGDIR)', 1, '$(PYDIR)', 1)"
+	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/$(PKGDIR)', 1, '$(PKGDIR)', 1)"




More information about the Yum-cvs-commits mailing list