Re: Can i build/output .rpm package to directory other than /usr/src/redhat/RPMS/i386 directory?

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

 



On Mon, 8 Mar 2004 barry@xxxxxxxxxxxxxxxxxxx wrote:

> 
> All,
> 
> Can i build/output .rpm package to directory other 
> than /usr/src/redhat/RPMS/i386 directory? 
>
Yeah, just change where _rpmdir points and change _build_name_fmt
from:

	%%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm

to:

	%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm

Cheers...james

P.S. cpanflute2, a utiltity for building rpms from cpan modules has 
a real good example of this.  It can be found in the RPM::Specfile module.
 
> Thanks 
> 
> Barry
> 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 


_______________________________________________
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