[Yum-devel] RFC: yum-builddep patch to use specfiles instead of srpm buildrequires for depresolution
seth vidal
skvidal at fedoraproject.org
Mon May 6 13:53:05 UTC 2013
On Mon, 06 May 2013 00:31:08 -0400
James Antill <james at fedoraproject.org> wrote:
> On Fri, 2013-05-03 at 17:46 +0200, Phil Knirsch wrote:
> > Hi folks.
> >
> > I've "hacked" together a small patch the last few days to basically
> > convert yum-builddep to always use specfiles for build dep
> > resolution.
> >
> > It does so by extracting the specfile from srpms to a temporary
> > file and uses that then to generate the build dependencies.
> >
> > The advantage here is obviously that this way yum-builddep would
> > become arch agnostic and the year old problem of srpms actually
> > being binary rpms would be solved.
>
> So, AIUI, this won't fix that. As koji/etc. would need to be fixed
> for that to happen for distros. ... and AFAIK koji doesn't use
> yum-builddep. Pretty much everyone outside a distro. only cares about
> one arch, and most don't use yum-builddep either ;).
>
> Saying that, a bunch of people have wanted this feature, so I don't
> see a reason to not give it to them. Two things though:
>
> 1. It'd be nice to put the code to extract the file somewhere outside
> of yum-builddep ... maybe into yum itself, maybe somewhere else. Also
> providing a "repoquery --specfile" would be pretty cool (even cooler
> if it did arbitrary files in the rpm).
>
the extraction code would make good sense in rpmUtils somewhere, I
think.
-sv
More information about the Yum-devel
mailing list