Changing the rpm default queryformat to include arch

Bill Nottingham notting at redhat.com
Tue Nov 27 20:15:48 UTC 2007


Panu Matilainen (pmatilai at laiskiainen.org) said: 
>> It uses a valid release character as a separator between epoch and
>> release,
>
> Mm.. urgh, rpm actually accepts ':' in both version and release strings.

And '\0', and ☠, and ⽍, and...

>> 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.

Sure, but just because it's a de facto rather than de jure standard doesn't
make it any better of an idea to change it.

Bill




More information about the fedora-devel-list mailing list