cosmetic in specfile
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 4 Dec 2007 09:41:19 +0000 (09:41 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 4 Dec 2007 09:41:19 +0000 (09:41 +0000)
Makefile

index 6944612..5313fb0 100644 (file)
--- 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 \