[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Binary RPM naming | doubt
- From: "Lis Maria Thomas" <lthomas2 sapient com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: Binary RPM naming | doubt
- Date: Thu, 26 Oct 2006 18:58:10 +0530
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 redhat com [mailto:rpm-list-bounces redhat com]
On Behalf Of Luciano Miguel Ferreira Rocha
Sent: Thursday, October 26, 2006 5:17 PM
To: rpm-list redhat com
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]