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). 2. I think we want the default to remain the same as yumdownloader + rpmbuild, and to then have a yum-builddep --specfile optional mode. ...neither point is a hard requirement though, IMO. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
