--- common/Makefile.common 2010/03/16 15:41:16 1.9 +++ common/Makefile.common 2013/11/11 14:41:28 1.12 @@ -5,7 +5,7 @@ # Copyright (C) 2004-2005 Red Hat, Inc. # Copyright (C) 2005 Fedora Foundation # -# $Id: Makefile.common,v 1.8 2010/02/20 20:09:05 slords Exp $ +# $Id: Makefile.common,v 1.11 2012/08/03 16:54:08 slords Exp $ # Define the common dir. # This needs to happen first. @@ -95,7 +95,7 @@ endif # The repository and the clients we use for the files REPOSITORY ?= http://buildsys.contribs.org/source -UPLOAD_REPOSITORY ?= /builds/source +UPLOAD_REPOSITORY ?= /build/builds/source # We define CURL and WGET in a way that makes if possible to have them # overwritten from the module's Makefiles. Then CLIENT picks CURL, otherwise WGET @@ -322,8 +322,13 @@ check: test-srpm done; ## use this to build an srpm locally +ifneq (, $(filter contribs7 contribs8 contribs9, $(BRANCH))) +srpm: sources $(TARGETS) + $(RPM_WITH_DIRS) $(DIST_DEFINES) --define _source_filedigest_algorithm=md5 --nodeps -bs $(SPECFILE) +else srpm: sources $(TARGETS) $(RPM_WITH_DIRS) $(DIST_DEFINES) --nodeps -bs $(SPECFILE) +endif test-srpm: srpm @@ -412,7 +417,7 @@ ifndef $(BODHI_USER) BODHI_USER=$(USER) endif -ifneq (, $(filter contribs7 contribs8, $(BRANCH))) +ifneq (, $(filter contribs7 contribs8 contribs9, $(BRANCH))) update: bodhi endif