Index: Makefile.common =================================================================== RCS file: /cvs/pkgs/common/Makefile.common,v retrieving revision 1.122 diff -u -r1.122 Makefile.common --- Makefile.common 25 Feb 2009 15:52:07 -0000 1.122 +++ Makefile.common 26 Feb 2009 15:30:29 -0000 @@ -616,7 +616,7 @@ @echo " install Local test rpmbuild install" @echo " compile-short Local test rpmbuild short-circuit compile" @echo " install-short Local test rpmbuild short-circuit install" - @echo " lint Run rpmlint against local build output" + @echo " lint Run rpmlint against local build output" @echo " export Create clean export in \"cvs-$(TAG)\"" @echo " check Check test srpm preps on all archs" @echo " srpm Create a srpm" @@ -651,6 +651,7 @@ @echo " unused-fedora-patches Print Fedora patches not used by Patch and/or ApplyPatch directives" @echo " gimmespec Print the name of the specfile" @echo " update Submit $(NAME)-$(VERSION)-$(RELEASE) as an update for $(BRANCH)" + @echo " download-build Download $(NAME)-$(VERSION)-$(RELEASE) from Koji" @echo @echo "For bug reports or patch submissions, please use the issue tracker at:" @echo "https://fedorahosted.org/fedora-infrastructure" @@ -665,6 +666,10 @@ unused-fedora-patches: @for f in *.patch; do if [ -e $$f ]; then (egrep -q "^Patch[[:digit:]]+:[[:space:]]+$$f" $(SPECFILE) || echo "Unused: $$f") && egrep -q "^ApplyPatch[[:space:]]+$$f" $(SPECFILE) || echo "Unapplied: $$f"; fi; done +download-build: + @if [ ! -x "$(BUILD_CLIENT)" ]; then echo "Must have koji installed - see http://fedoraproject.org/wiki/BuildSystemClientSetup"; exit 1; fi + $(BUILD_CLIENT) $(SECONDARY_CONFIG) download-build $(BUILD_FLAGS) $(NAME)-$(VERSION)-$(RELEASE) + ##################### EXPERIMENTAL ########################## # this stuff is very experimental in nature and should not be # relied upon until these targets are moved above this line