From: Sapan Bhatia Date: Mon, 30 Jan 2012 17:40:41 +0000 (-0500) Subject: spec file fix X-Git-Tag: openvswitch-1.2-1~4 X-Git-Url: http://git.onelab.eu/?p=openvswitch.git;a=commitdiff_plain;h=7612499af8feab9f2815c63d477771b4d2ca9e44 spec file fix --- diff --git a/Makefile b/Makefile index abdaf05..2537b7f 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ define download_target $(1): $($(1)) .PHONY: $($(1)) $($(1)): - @if [ ! -e "$($(1))" ] ; then echo "$(WEBFETCH) $($(1)-URL)" ; $(WEBFETCH) $($(1)-URL) ; fi + @if [ ! -e "$($(1))" ] ; then echo "$(WEBFETCH) -Oopenvswitch-ef72dd8.tar.gz $($(1)-URL)" ; $(WEBFETCH) -Oopenvswitch-ef72dd8.tar.gz $($(1)-URL) ; fi @if [ ! -e "$($(1))" ] ; then echo "Could not download source file: $($(1)) does not exist" ; exit 1 ; fi @if test "$$$$($(SHA1SUM) $($(1)) | awk '{print $$$$1}')" != "$($(1)-SHA1SUM)" ; then \ echo "sha1sum of the downloaded $($(1)) does not match the one from 'Makefile'" ; \