SOURCES (AC-branch): rpm-macros-ac.patch - LUA version of %_tmppath
glen
glen at pld-linux.org
Mon Mar 10 15:59:40 CET 2008
Author: glen Date: Mon Mar 10 14:59:40 2008 GMT
Module: SOURCES Tag: AC-branch
---- Log message:
- LUA version of %_tmppath
---- Files affected:
SOURCES:
rpm-macros-ac.patch (1.1.2.3 -> 1.1.2.4)
---- Diffs:
================================================================
Index: SOURCES/rpm-macros-ac.patch
diff -u SOURCES/rpm-macros-ac.patch:1.1.2.3 SOURCES/rpm-macros-ac.patch:1.1.2.4
--- SOURCES/rpm-macros-ac.patch:1.1.2.3 Tue Mar 4 20:42:26 2008
+++ SOURCES/rpm-macros-ac.patch Mon Mar 10 15:59:34 2008
@@ -14,7 +14,7 @@
# Directory where temporary files can be created.
-%_tmppath %(echo "${TMPDIR:-/tmp}")
-+%_tmppath %{_var}/tmp
++%_tmppath %{expand:%%global _tmppath %{lua:print(os.getenv("TEMP") or os.getenv ("TMP") or "/tmp")}}%{_tmppath}
%tmpdir %{_tmppath}
# Path to top of build area.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-macros-ac.patch?r1=1.1.2.3&r2=1.1.2.4&f=u
More information about the pld-cvs-commit
mailing list