From f474b07a47a84525f1376bafc80ca92c38ffb77e Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Wed, 3 Jul 2024 07:47:34 +0000 Subject: [PATCH] Makefile fixes We can prefetch the sources using spectool as usual. --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ee94585..d5ee677 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SPEC=llvm.spec BUILDDIR=$(shell pwd)/BUILD BUILDROOTDIR=$(shell pwd)/BUILD SOURCEDIR=$(shell pwd) -FEDORA_RELEASE=f39 +FEDORA_RELEASE=f40 .PHONY: setup setup: @@ -15,6 +15,7 @@ setup: mkdir -pv $(SOURCEDIR) YYYYMMDD=$(YYYYMMDD) ./.copr/snapshot-info.sh > $(SOURCEDIR)/version.spec.inc + spectool -g --define "_sourcedir $(SOURCEDIR)" llvm.spec .PHONY: local-srpm local-srpm: setup @@ -22,7 +23,6 @@ local-srpm: setup --define "yyyymmdd $(YYYYMMDD)" \ --define "_srcrpmdir $(OUTDIR)" \ --define "_sourcedir $(SOURCEDIR)" \ - --define "_disable_source_fetch 0" \ -bs $(SPEC) .PHONY: local-rpm @@ -32,7 +32,6 @@ local-rpm: setup --builddir $(BUILDDIR) \ --buildrootdir $(BUILDROOTDIR) \ --define "yyyymmdd $(YYYYMMDD)" \ - --define "_disable_source_fetch 0" \ -- $(SPEC) --noclean .PHONY: local-clean @@ -55,7 +54,6 @@ local-list-check: setup --builddir $(BUILDDIR) \ --buildrootdir $(BUILDROOTDIR) \ --define "yyyymmdd $(YYYYMMDD)" \ - --define "_disable_source_fetch 0" \ -- $(SPEC) -bl .PHONY: local-prep @@ -65,7 +63,6 @@ local-prep: setup --builddir $(BUILDDIR) \ --buildrootdir $(BUILDROOTDIR) \ --define "yyyymmdd $(YYYYMMDD)" \ - --define "_disable_source_fetch 0" \ -- $(SPEC)