From: Thierry Parmentelat Date: Tue, 4 Dec 2007 09:41:19 +0000 (+0000) Subject: cosmetic in specfile X-Git-Tag: 4.2-rc2~382 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b57e895946bf9e2d1223e906bae4405a725bb113;p=build.git cosmetic in specfile --- diff --git a/Makefile b/Makefile index 69446128..5313fb03 100644 --- a/Makefile +++ b/Makefile @@ -257,10 +257,10 @@ $($(1).specpath): echo "%define distrorelease $(RELEASE)" >> $($(1).specpath) echo "%define pldistro $(PLDISTRO)" >> $($(1).specpath) $(if $($(1).has-date),echo "%define date $(shell date +%Y.%m.%d)" >> $($(1).specpath),) - echo "# included from codebase specfile" >> $($(1).specpath) $(if $($(1)-SPECVARS), \ $(foreach line,$($(1)-SPECVARS), \ echo "%define" $(word 1,$(subst =, ,$(line))) "$(word 2,$(subst =, ,$(line)))" >> $($(1).specpath) ;)) + echo "# included from codebase specfile" >> $($(1).specpath) $(if $($($(1).module)-SVNPATH),\ svn cat $($($(1).module)-SVNPATH)/$($(1)-SPEC) >> $($(1).specpath) || rm $($(1).specpath),\ cvs -d $($($(1).module)-CVSROOT) checkout \