On Mon, Feb 23, 2004, Gavin Chan wrote:
> What is the best way to get the build target (CPU-VENDOR-OS) value when
> someone wants to build from a spec file and before a binary/src RPM is
> built? In the rpmbuild switches, one can specify a
> --target=CPU-VENDOR-OS tag but how can I find out the final binary RPM
> file name (the full file name)?
In OpenPKG-CURRENT and OpenPKG-2.0 you can use:
| $ openpkg rpm --eval '%{l_platform -p}-%{l_tag}'
| ix86-freebsd4.9-uop
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]