[Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)

Panu Matilainen notifications at github.com
Thu May 16 07:38:31 UTC 2019


pmatilai commented on this pull request.



>  				(what & ~RPMBUILD_RMSOURCE) |
 				(x ? 0 : (what & RPMBUILD_PACKAGESOURCE))))) {
 		goto exit;
 	    }
 	}
     } else {
 	int didBuild = (what & (RPMBUILD_PREP|RPMBUILD_BUILD|RPMBUILD_INSTALL));
+	int sourceOnly = ((what & RPMBUILD_PACKAGESOURCE) &&
+	   !(what & (RPMBUILD_BUILD|RPMBUILD_INSTALL|RPMBUILD_PACKAGEBINARY)));
+
+	if (!spec->buildrequires && sourceOnly){

There's a missing space between ) and { (clearly, getting to the bottom of things...)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/593#pullrequestreview-238222866
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190516/9c2f6c97/attachment.html>


More information about the Rpm-maint mailing list