[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: repoquery fu
- From: Ville Skyttä <ville skytta iki fi>
- To: EPEL development disccusion <epel-devel-list redhat com>
- Subject: Re: repoquery fu
- Date: Fri, 11 Sep 2009 09:17:03 +0300
On Friday 11 September 2009, Ray Van Dolson wrote:
> Ideally I'd like to be able to list out the subpackages that depend on
> fuse and identify what the parent package is that they are a subpackage
> of. I can then use the parent package to get the owner information
> from pkgdb and fas2..
You can use "%{SOURCERPM}" in the query format; that'll give you the srpm name
from which you can find out the pkgdb name for it or extract it with sed/perl.
And don't forget to use --alldeps. Something like
repoquery --repoid=rawhide --whatrequires --alldeps \
--queryformat "%{NAME}; source package %{SOURCERPM}\n" fuse | \
perl -pe 's/^(.+?)-[^-]+-[^-]+$/\1/' | sort -u
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]