Changing the rpm default queryformat to include arch

Panu Matilainen pmatilai at laiskiainen.org
Tue Nov 27 19:44:21 UTC 2007


On Tue, 27 Nov 2007, Bill Nottingham wrote:

> Panu Matilainen (pmatilai at laiskiainen.org) said:
>> Why do you think it's bad - because of the ':' used as separator, or "just
>> because" (epochs are evil and all that)?
>
> It uses a valid release character as a separator between epoch and
> release,

Mm.. urgh, rpm actually accepts ':' in both version and release strings.

> making parsing without reading the header more 'interesting',
> without knowing which version of RPM created the file.

Make that "without knowing what kind of configuration was this RPM created 
with" or "without knowing if 'mv' was used after package creation. 
Remember, the filename has zero guarantee to have any resemblance on the 
package contents. The output filename is configurable already, has 
"always" been, so the n-v-r.arch.rpm format is just a defacto standard.

 	- Panu -




More information about the fedora-devel-list mailing list