[Rpm-maint] [PATCH] Mark build-id and dwz entries in packages as %artifact files

Panu Matilainen pmatilai at redhat.com
Tue Nov 14 10:45:14 UTC 2017

On 11/08/2017 11:27 AM, Panu Matilainen wrote:
> In worst-case scenarios (packages with lots of binaries but little
> else), the build-id entries can dominate the query output to the
> point its hard to see the actual content. Marking these things as
> %artifact entries (artificial by-products of our processing) allows
> them to be easily filtered out from queries, eg:
>    $ rpm -qpl can-utils-20170830git-1.fc27.x86_64.rpm | wc -l
>    76
>    $ rpm -qpl --noartifact /can-utils-20170830git-1.fc27.x86_64.rpm | wc -l
>    28
> Besides build-ids in the main package(s), this also marks the build-id
> and dwz-related entries in the debuginfo packages as %artifacts. The
> debuginfo files exist solely for carrying debuginfo data so its arguable
> whether these should be %artifacts in there too or only in the main
> packages, comments welcome...

Didn't get much in the way of feedback so applied as-is. It might be 
argued one way or the other but at least it's consistent this way 
(build-ids are artifacts regardless of the box they come in), which 
tends to be a good thing.

	- Panu -

More information about the Rpm-maint mailing list