[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How can I control the name of the rpm created by rpmbuild?



On Wed, Oct 05, 2005 at 03:47:05PM -0700, Christian Goetze wrote:

> It seems that rpmbuild will generate the rpm file into
> RPMS/<arch>/<package-name>-<version>-<release>.<arch>.rpm
> 
> How can I change this? I'd like to have
> RPMS/<platform>/<package-name>-<version>-<release>.<platform>.rpm

Redefine %_build_name_fmt in your .rpmmacros file
(see /usr/lib/rpm/macros for the current format).

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]