RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-5.0.2: changing package file name convention

From: Ralf S. Engelschall <rse+rpm-users@rpm5.org>
Date: Wed 06 Feb 2008 - 20:58:59 CET
Message-ID: <20080206195859.GA76917@engelschall.com>
On Wed, Feb 06, 2008, Jeff Johnson wrote:

> [...]
> The problem with using %{lua:...} is that it is too dynamic to create
> an rpmdb index with: I have no clue what %* actually contains in
> your examples.

Ah, good point. Ok.

> So I'm likely to attach a headerSprintf() query format to the RPMTAG_NVRA
> header extension tag, and then use RPMTAG_NVRA as the default
> display format everywhere a "package" needs to be identified.
>
> The only flaw that I currently see is that --rebuilddb to regenerate the
> Nvra index
> will be needed whenever
> 	%_display_nvra	%%{name}-%%{version}-%%{release}.%%{arch}}
> [...]

Yes, this would be sufficient, too.
Please implement it this way!
I'm looking forward using it as soon as it is available... ;-)

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Wed Feb 6 21:01:22 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.