On Sat, Jul 19, 2014 at 03:37:15PM +0100, Sérgio Basto wrote: > > > On Sáb, 2014-07-19 at 12:30 +0100, Richard W.M. Jones wrote: > > The first step of most Koji builds is buildSRPMFromSCM, where a > > .src.rpm file is built from the git repo. > > > > Currently this involves completely building a mock buildroot > > containing all the BuildRequires, and running `rpmbuild -bs'. This > > takes many minutes (especially when arm is chosen as a builder). > > If I understood the question, I use > fedpkg switch-branch f20 , fedpkg switch-branch master etc and fedpkg > srpm . The question is related to what Koji does, not what local developers do with 'fedpkg'. > Just if we have "Source lines might depend on RPM macros which might > depend on any BuildRequire'd" :) > have you any example , Source lines ? Source lines should be immutable > I remember put a ifdef in a source line for i386 and src.rpm wasn't > equal for i386 and x86_64, but should, because we only export one of > them. Well something like (made up example): Source0: %{lang_download_url}/%{name}-%{version}.tar.gz where %lang_download_url is an RPM macro defined in some lang-specific package that's not part of a normal build root. I have no idea if there are packages which do this, which is kind of my point. We spend probably an extra 10 minutes on each build on a pretty obscure corner case. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct