Re: Using {dist} when I only have pre-compiled binaries?

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

 



On Tue, May 26, 2009 at 12:21 AM, Valery Reznic <valery_reznic@xxxxxxxxx> wrote:
> You can simple rename it, using 'mv' command.
> Or when you use rpmbuild specify
> _build_name_fmt variable.
> It's default value (On RedHat system) is
> %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
>
> Valery.

Thanks.  Putting this in ~/.rpmmacros gives me the automatic behavior I wanted:

%_build_name_fmt
%%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{DISTRIBUTION}.%%{ARCH}.rpm

Matt
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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