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

Re: rpmbuild for PPC sticks libs in /usr/lib64



On Thu, Apr 06, 2006 at 01:56:40PM -0400, Matthew Saltzman wrote:
> Not sure if it's something set to work when you build, but rpmbuild 
> complains about more than one token on the line
> 
>         Release: %atrelease 2

You need to pass this as an argument to rpmbuild, e.g.

rpmbuild --define 'atrelease() %1.rhel4.mat' ...

Follwoing such a naming convention will make sure that upgrade paths
are OK, e.g. if you build for rhel3, rhel4 and someday rhel5 from the
same specfile then the packages will be in the desired rpm-ordering.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpKZMUGeiF21.pgp
Description: PGP signature


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