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

Matt Harrington mbh.lists at gmail.com
Tue May 26 07:04:51 UTC 2009


On Mon, May 25, 2009 at 11:20 PM, Valery Reznic <valery_reznic at yahoo.com> wrote:
>
> In your spec file you can use "Distribution' tag.
> Or if your package already built you can use rpmrebuild
> (http://rpmrebuild.sf.net) to insert/remove/change any tag
>
> Valery.

Thanks for the response.  I'm now closer to my goal.  This shows the
Distribution tag:

rpm -qp --qf '%{distribution}\n' *.rpm

However, the RPM filename doesn't have the {dist} tag.  What I'd like is:

foo-1.0-1-el5.x86_64.rpm
  instead of ...
foo-1.0-1.x86.64.rpm

Any ideas?

Matt


More information about the Rpm-list mailing list