FAQ:List Files in a Package
From rPath Wiki
| FAQ | ||
| Question: How do I get a listing of files in a package, broken out by component? | ||
Answer: Use the --trove-headers option to a conary q or conary rq query. Note that --trove-headers is a modifier to --ls, which must also be present for it to have any effect.
Here is an example, with abbreviated output:
$ conary q libao --ls --trove-headers libao=0.8.6-4-0.1 libao:devel=0.8.6-4-0.1 /usr/include/ao/ao.h /usr/include/ao/os_types.h /usr/include/ao/plugin.h /usr/share/aclocal/ao.m4 libao:devellib=0.8.6-4-0.1 /usr/lib64/libao.so /usr/lib64/pkgconfig/ao.pc libao:doc=0.8.6-4-0.1 /usr/share/doc/libao-0.8.6/CHANGES . . . /usr/share/doc/libao-0.8.6/style.css /usr/share/man/man5/libao.conf.5.gz libao:lib=0.8.6-4-0.1 /usr/lib64/ao/plugins-2/libalsa09.so /usr/lib64/ao/plugins-2/libesd.so /usr/lib64/ao/plugins-2/liboss.so /usr/lib64/libao.so.2 /usr/lib64/libao.so.2.1.3
The --trove-headers option is especially useful when querying a group; it yields an indented hierarchical listing in this form:
<group>
<package>
<component>
<file>
<file>
