Re: RPM constructed name - how to control?

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

 



Put in ~/.rpmmacros

%_rpmfilename   %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm

Best Regards

On Thu, May 8, 2008 at 10:25 PM, Tim Mooney <mooney@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Because your message came through as an attachment it's hard for me to
quote any of it, but you want to investigate the setting for either

       %_build_name_fmt

or

       rpmfilename

I don't remember which one RPM 3.x used, but I would start with
%_build_name_fmt.  That's what controls how the file is named with modern
RPM.

Note, though, that for the example you give, I'm not sure it would be
advisable to change your %_build_name_fmt, other than to just add
%%{ARCH} to what's already there.

Tim
--
Tim Mooney                              mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
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