--- common/Makefile.common 2010/02/20 20:10:22 1.16 +++ common/Makefile.common 2012/06/30 05:57:51 1.18 @@ -5,7 +5,7 @@ # Copyright (C) 2004-2005 Red Hat, Inc. # Copyright (C) 2005 Fedora Foundation # -# $Id: Makefile.common,v 1.15 2010/01/21 15:33:30 slords Exp $ +# $Id: Makefile.common,v 1.17 2010/03/16 15:38:36 slords Exp $ # Define the common dir. # This needs to happen first. @@ -291,7 +291,7 @@ install-short: sources $(TARGETS) CVS_ROOT := $(shell if [ -f CVS/Root ] ; then cat CVS/Root ; fi) CVS_REPOSITORY := $(shell if [ -f CVS/Repository ] ; then cat CVS/Repository ; fi) -CVS_URL := cvs://smeserver.cvs.sourceforge.net:/cvsroot/smeserver?$(CVS_REPOSITORY)\#$(TAG) +CVS_URL := cvs://smeserver.cvs.sourceforge.net/cvsroot/smeserver?$(CVS_REPOSITORY)\#$(TAG) ## create a clean exported copy in $(TMPCVS) export:: sources @@ -322,8 +322,13 @@ check: test-srpm done; ## use this to build an srpm locally +ifneq (, $(filter sme7 sme8, $(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