Re: Help !!!!! Binary RPM naming | doubt

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

 



Lis Maria Thomas wrote:
> > Try changing your define to something like:
> > %{ARCH}/thenameiwant-%{VERSION}-%{RELEASE}.%{ARCH}.rpm

> Now I am able to build the binary rpms with the name I specify.But now
> there is one more problem,
> 
> It is writing two binary rpms with the same name in the /RPMS/i386
> folder and when I try to install the rpm it is installing the debuginfo
> rpm instead of the binary rpm.

If you followed the advice above then both rpms will go to the same
name.  That is probably the problem you are seeing now.

> Wrote: /home/mine/redhat/SRPMS/zzz-1.0-1.src.rpm
> Wrote: /home/mine/redhat/RPMS/i386/xxx-1.0-1.i386.rpm
> Wrote: /home/mine/redhat/RPMS/i386/xxx-1.0-1.i386.rpm

Yep.

> I am not able to figure out what the mistake and where is this
> zzz-debuginfo-1.0-1 coming from.

Please show the header lines from the spec file that are setting up
this definition.  I think the problem is there.

I think you are probably making things too complicated.  I personally
have never needed to make these types of changes and I thought that I
have done some pretty gnarly things with spec files.  Simple is
better.  I suggest that you step back and take a simpler pass at this.
What are you trying to do again?  (I personally did not see any of
this earlier mail exchange.)

Bob

_______________________________________________
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