# HG changeset patch # User Carl Byington # Date 1363982313 25200 # Node ID fa645feb1f0ef02c0e2d0c6d379bb87c8eedbae1 # Parent 786f4376ac9936d6947fc2536c1b93b8f554edf0 fetch the jar file if we don't have it diff -r 786f4376ac99 -r fa645feb1f0e Makefile --- a/Makefile Fri Mar 22 12:50:40 2013 -0700 +++ b/Makefile Fri Mar 22 12:58:33 2013 -0700 @@ -1,5 +1,7 @@ +f=logstash-1.1.9-monolithic.jar + all: + [ -f $f ] || curl https://logstash.objects.dreamhost.com/release/$f >$f [ -d builder ] && rm -rf builder || /bin/true mkdir builder rpmbuild --define "_sourcedir $(shell pwd)" --define "_builddir $(shell pwd)/builder" --define "_srcrpmdir $(shell pwd)" --define "_rpmdir $(shell pwd)" --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" -ba logstash.spec - #rm -rf builder