From bbb6b069e9be7ee8a8a976d4f7b3ad1ab336cd42 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Fri, 10 Aug 2018 18:16:11 +0200 Subject: [PATCH] build: use gzip for vendored deps archive and use proper file extensions --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3c403da..fb930d4 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ MINOR:=1 PATCH:=0 VERSION:=$(MAJOR).$(MINOR).$(PATCH) -ARCHIVE:=$(NAME)-$(VERSION).tar.xz -VENDOR:=$(NAME)-$(VERSION)-vendor.tar.xz +ARCHIVE:=$(NAME)-$(VERSION).tar.gz +VENDOR:=$(NAME)-$(VERSION)-vendor.tar.gz FEDORA_VERSION:=rawhide @@ -35,12 +35,12 @@ uninstall: rm -rf $(DESTDIR)/usr/lib/dracut/modules.d/71prefixdevname dist: - @git archive HEAD --prefix $(NAME)-$(VERSION)/ | zcat > $(ARCHIVE) + @git archive HEAD --prefix $(NAME)-$(VERSION)/ | gzip > $(ARCHIVE) vendor: @rm -rf vendor @cargo vendor - @tar -cJf $(VENDOR) vendor + @tar -czf $(VENDOR) vendor srpm: dist @cp $(ARCHIVE) $(VENDOR) ~/rpmbuild/SOURCES