Binary RPM naming | doubt

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

 



Hi

Thank you so much for the reply.i was able to build the binary rpm with
the name I specified.
Now I am facing another issue, the rpmbuild is actually creating these
rpms.

Wrote: /home/sapient/redhat/SRPMS/yyy-1.0-1.src.rpm
Wrote: /home/sapient/redhat/RPMS/xxx.i386.rpm
Wrote: /home/sapient/redhat/RPMS/xxx.i386.rpm 

Since there are two binary rpms,it is saving only one at /RPMS/
location.and when I try to install that using rpm -ivh xxx.i386.rpm
,what I get is

Preparing...                ###########################################
[100%]
   1:yyy-debuginfo       ###########################################
[100%]

It is not installing the binary rpm ,rather it is install the debuginfo.

Is there anything wrong with what I have done or is this the way it
works.

Lis

-----Original Message-----
From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx]
On Behalf Of Luciano Miguel Ferreira Rocha
Sent: Thursday, October 26, 2006 5:17 PM
To: rpm-list@xxxxxxxxxx
Subject: Re: Binary RPM naming | doubt


Options (resulting in RPMS/xxx.i386.rpm):

a)
%define my_build_name_fmt xxx 
%define _build_name_fmt %{my_build_name_fmt}.%_arch.rpm

b)
%define _build_name_fmt xxx.%_arch.rpm

c)
rpmbuild -ba yyy.spec --define "_build_name_fmt xxx.%_arch.rpm"

d)
my_build_name_fmt=xxx
rpmbuild -ba yyy.spec --define "_build_name_fmt
$my_build_name_fmt.%_arch.rpm"

etc.

You just can0t have _build_name_fmt=$var and define var in a scriplet
(%build, etc.).

-- 
lfr
0/0

_______________________________________________
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