RPM Community Forums

Mailing List Message of <rpm-users>

Re: --target behaviour

From: Elan Ruusamäe <glen@delfi.ee>
Date: Wed 13 Feb 2008 - 09:28:06 CET
Message-Id: <200802131028.06995.glen@delfi.ee>
On Wednesday 13 February 2008 04:37:27 Jeff Johnson wrote:
> > - %{arch} is lost when first time rpm's are written
>
> %arch the tag in a --queryformat or %arch the macro is lost?

arch tag:

$ rpm -q --qf '%{N} = %|E?{%{E}:}|%{V}-%{R}.%{ARCH}\n' -p testarch-3-0.2..rpm
testarch = 0:3-0.2.

in macro (%prep) it's present.

-- 
glen
Received on Wed Feb 13 09:28:08 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.