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

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

 



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@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux