$($(1).specpath):
mkdir -p SPECS
(echo -n "# Generated by planetlab build from $($(1)-SPEC) on " ; date) > $($(1).specpath)
- echo "%define distroname $(DISTRO)" >> $($(1).specpath)
+ echo "%define distro $(DISTRO)" >> $($(1).specpath)
echo "%define distrorelease $(RELEASE)" >> $($(1).specpath)
- echo "%define distrovsname $(DISTRONAME)" >> $($(1).specpath)
+ echo "%define distroname $(DISTRONAME)" >> $($(1).specpath)
echo "%define pldistro $(PLDISTRO)" >> $($(1).specpath)
echo "%define plrelease $(PLANETLAB_RELEASE)" >> $($(1).specpath)
$(if $($(1).has-date),echo "%define date $(shell date +%Y.%m.%d)" >> $($(1).specpath),)