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

Re: RPM constructed name - how to control?



Put in ~/.rpmmacros

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

Best Regards

On Thu, May 8, 2008 at 10:25 PM, Tim Mooney <mooney dogbert cc ndsu nodak edu> 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 dogbert cc ndsu NoDak edu
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 redhat com
https://www.redhat.com/mailman/listinfo/rpm-list


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