From: Flole Date: Thu, 18 Jun 2026 13:24:32 +0000 (+0200) Subject: rpm: generate local tarball using git archive to fix build errors X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=HEAD;p=thirdparty%2Ftvheadend.git rpm: generate local tarball using git archive to fix build errors --- diff --git a/rpm/Makefile b/rpm/Makefile index 8e1042d2d..91870c3dd 100644 --- a/rpm/Makefile +++ b/rpm/Makefile @@ -51,12 +51,12 @@ SOURCES: .PHONY: srpm srpm: clean SOURCES tvheadend.spec - spectool --get-files -C SOURCES tvheadend.spec + cd $(TOPDIR)/.. && git archive --format=tar.gz --prefix=tvheadend-$(COMMITR)/ HEAD -o $(TOPDIR)/SOURCES/tvheadend-$(COMMITR).tar.gz rpmbuild $(DEFINES) -bs tvheadend.spec .PHONY: build build: clean SOURCES tvheadend.spec - spectool --get-files -C SOURCES tvheadend.spec + cd $(TOPDIR)/.. && git archive --format=tar.gz --prefix=tvheadend-$(COMMITR)/ HEAD -o $(TOPDIR)/SOURCES/tvheadend-$(COMMITR).tar.gz rpmbuild $(DEFINES) -ba tvheadend.spec .PHONY: build-doozer