SOURCES: rpm.macros - workaround: %tmpdir defined from macros of r...

glen glen at pld-linux.org
Mon Mar 17 13:14:22 CET 2008


Author: glen                         Date: Mon Mar 17 12:14:22 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- workaround: %tmpdir defined from macros of rpm package, declaring it here causes memory corrution

---- Files affected:
SOURCES:
   rpm.macros (1.442 -> 1.443) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.442 SOURCES/rpm.macros:1.443
--- SOURCES/rpm.macros:1.442	Fri Mar 14 00:30:52 2008
+++ SOURCES/rpm.macros	Mon Mar 17 13:14:16 2008
@@ -252,9 +252,6 @@
 # Current date
 %date 		%(LC_ALL="C" date +"%a %b %d %Y")
 
-# tmp directory
-%tmpdir		%{expand:%%global tmpdir %{lua:print(os.getenv("TMPDIR") or "/tmp")}}%{tmpdir}
-
 # Example files, programs, scripts...
 %_examplesdir	/usr/src/examples
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.442&r2=1.443&f=u



More information about the pld-cvs-commit mailing list