[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Binary RPM naming | doubt
- From: "Lis Maria Thomas" <lthomas2 sapient com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: RE: Binary RPM naming | doubt
- Date: Fri, 27 Oct 2006 11:11:25 +0530
Hi
I need some more help please.
As u said in your previous mail, I tried to run rpmbuild command in the
following ways
1) rpmbuild -ba yyy.spec --define "_build_name_fmt
%_arch/xxx-%{version}-%{release}.%_arch.rpm"
2) rpmbuild -ba yyy.spec --define "_build_name_fmt
%{ARCH}/lis-%{VERSION}-%{RELEASE}.%{ARCH}.rpm"
In both the cases, I am getting the error as
error: Could not generate output filename for package zzz: unknown tag
Note: zzz is the value of the name tag in the spec file
Regards
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 7:11 PM
To: rpm-list redhat com
Subject: Re: Binary RPM naming | doubt
On Thu, Oct 26, 2006 at 06:58:10PM +0530, Lis Maria Thomas wrote:
>
> 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
...
> 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.
Note also that it isn't creating the i386 rpms under a i386
subdirectory.
The default _build_name_fmt is
%{ARCH}/%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm
Try changing your define to something like:
%{ARCH}/thenameiwant-%{VERSION}-%{RELEASE}.%{ARCH}.rpm
--
lfr
0/0
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]