repoquery fu
Ville Skyttä
ville.skytta at iki.fi
Fri Sep 11 15:11:30 UTC 2009
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
More information about the epel-devel
mailing list