rpm 4.4.9 broken on Ac?

Elan Ruusamäe glen at delfi.ee
Mon Mar 17 16:08:15 CET 2008


On Sunday 16 March 2008 14:06:07 Elan Ruusamäe wrote:
> found too something similar from one vserver root dir:

appears that such sequence of macros in rpm 4.4.9 causes the mess and TMPDIR macros containing garbage:

$ tail -n3 ~/.rpmmacros
%_tmppath  %{expand:%%global _tmppath %{lua:print(os.getenv("TMPDIR") or "/tmp")}}%{_tmppath}
%tmpdir    %{_tmppath}
%tmpdir    %{expand:%%global tmpdir %{lua:print(os.getenv("TMPDIR") or "/tmp")}}%tmpdir

not using %{lua:...} or not overwriting macros is workaround

-- 
glen


More information about the pld-devel-en mailing list