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@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Luciano Miguel Ferreira Rocha Sent: Thursday, October 26, 2006 7:11 PM To: rpm-list@xxxxxxxxxx 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 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list