From: Harald Hoyer Date: Fri, 15 Aug 2014 12:03:39 +0000 (+0200) Subject: Makefile:rpm: wget the lgpl license for Source1 X-Git-Tag: 039~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99128f2b64775313866b1d4edd3cd6220be937f8;p=thirdparty%2Fdracut.git Makefile:rpm: wget the lgpl license for Source1 --- diff --git a/Makefile b/Makefile index 7383309a8..f68960a03 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,9 @@ rpm: dracut-$(VERSION).tar.xz syncheck rpmbuild=$$(mktemp -d -t rpmbuild-dracut.XXXXXX); src=$$(pwd); \ cp dracut-$(VERSION).tar.xz "$$rpmbuild"; \ LC_MESSAGES=C $$src/git2spec.pl $(VERSION) "$$rpmbuild" < dracut.spec > $$rpmbuild/dracut.spec; \ - (cd "$$rpmbuild"; rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" \ + (cd "$$rpmbuild"; \ + wget https://www.gnu.org/licenses/lgpl-2.1.txt; \ + rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" \ --define "_specdir $$PWD" --define "_srcrpmdir $$PWD" \ --define "_rpmdir $$PWD" -ba dracut.spec; ) && \ ( mv "$$rpmbuild"/$$(arch)/*.rpm .; mv "$$rpmbuild"/*.src.rpm .;rm -fr -- "$$rpmbuild"; ls *.rpm )