]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile: call git2spec.pl with LANG=C
authorHarald Hoyer <harald@redhat.com>
Thu, 10 May 2012 12:30:31 +0000 (14:30 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 10 May 2012 12:30:31 +0000 (14:30 +0200)
Makefile

index 5ce177838aabd8113bc45c09593dd92d8352bfcb..bf51b51ba3d17550c0a76290392ae6445c59ad89 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,7 @@ dracut-$(VERSION).tar.bz2: doc
 rpm: dracut-$(VERSION).tar.bz2
        rpmbuild=$$(mktemp -d -t rpmbuild-dracut.XXXXXX); src=$$(pwd); \
        cp dracut-$(VERSION).tar.bz2 "$$rpmbuild"; \
-       $$src/git2spec.pl $(VERSION) "$$rpmbuild" < dracut.spec > $$rpmbuild/dracut.spec; \
+       LANG=C $$src/git2spec.pl $(VERSION) "$$rpmbuild" < dracut.spec > $$rpmbuild/dracut.spec; \
        (cd "$$rpmbuild"; rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" \
                --define "_specdir $$PWD" --define "_srcrpmdir $$PWD" \
                --define "_rpmdir $$PWD" -ba dracut.spec; ) && \