mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Makefile fixes
We can prefetch the sources using spectool as usual.
This commit is contained in:
parent
40d89f6009
commit
f474b07a47
1 changed files with 2 additions and 5 deletions
7
Makefile
7
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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue