[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: repoquery fu
- From: Ray Van Dolson <rayvd bludgeon org>
- To: epel-devel-list redhat com
- Subject: Re: repoquery fu
- Date: Fri, 11 Sep 2009 08:17:03 -0700
On Fri, Sep 11, 2009 at 06:11:30PM +0300, Ville Skyttä wrote:
> 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.
That's true. I'd completely forgotten about that. :)
>
> repoquery --repoid=rawhide --whatrequires --alldeps \
> --queryformat "%{SOURCERPM}\n" fuse | \
> perl -pe 's/^(.+?)-[^-]+-[^-]+$/\1-owner\ fedoraproject org/' | sort -u
Thanks for the example!
Ray
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]