]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile:rpm: wget the lgpl license for Source1
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 12:03:39 +0000 (14:03 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 12:03:39 +0000 (14:03 +0200)
Makefile

index 7383309a8df4123845644d6d105c72af27b17413..f68960a03547630dbf8f521d8bcb4671383e18db 100644 (file)
--- 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 )