[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 18:11:30 +0300
On Friday 11 September 2009, Ville Skyttä wrote:
> 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
Forgot to mention that you can use the $packagename-owner@ aliases directly,
no need to look them up from pkgdb/fas.
repoquery --repoid=rawhide --whatrequires --alldeps \
--queryformat "%{SOURCERPM}\n" fuse | \
perl -pe 's/^(.+?)-[^-]+-[^-]+$/\1-owner\ fedoraproject org/' | sort -u
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]