mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
Makefile fixes
We can prefetch the sources using spectool as usual.
This commit is contained in:
parent
393325cce1
commit
ff2779276f
1 changed files with 2 additions and 5 deletions
7
Makefile
7
Makefile
|
@ -5,7 +5,7 @@ SPEC=llvm.spec
|
||||||
BUILDDIR=$(shell pwd)/BUILD
|
BUILDDIR=$(shell pwd)/BUILD
|
||||||
BUILDROOTDIR=$(shell pwd)/BUILD
|
BUILDROOTDIR=$(shell pwd)/BUILD
|
||||||
SOURCEDIR=$(shell pwd)
|
SOURCEDIR=$(shell pwd)
|
||||||
FEDORA_RELEASE=f39
|
FEDORA_RELEASE=f40
|
||||||
|
|
||||||
.PHONY: setup
|
.PHONY: setup
|
||||||
setup:
|
setup:
|
||||||
|
@ -15,6 +15,7 @@ setup:
|
||||||
mkdir -pv $(SOURCEDIR)
|
mkdir -pv $(SOURCEDIR)
|
||||||
|
|
||||||
YYYYMMDD=$(YYYYMMDD) ./.copr/snapshot-info.sh > $(SOURCEDIR)/version.spec.inc
|
YYYYMMDD=$(YYYYMMDD) ./.copr/snapshot-info.sh > $(SOURCEDIR)/version.spec.inc
|
||||||
|
spectool -g --define "_sourcedir $(SOURCEDIR)" llvm.spec
|
||||||
|
|
||||||
.PHONY: local-srpm
|
.PHONY: local-srpm
|
||||||
local-srpm: setup
|
local-srpm: setup
|
||||||
|
@ -22,7 +23,6 @@ local-srpm: setup
|
||||||
--define "yyyymmdd $(YYYYMMDD)" \
|
--define "yyyymmdd $(YYYYMMDD)" \
|
||||||
--define "_srcrpmdir $(OUTDIR)" \
|
--define "_srcrpmdir $(OUTDIR)" \
|
||||||
--define "_sourcedir $(SOURCEDIR)" \
|
--define "_sourcedir $(SOURCEDIR)" \
|
||||||
--define "_disable_source_fetch 0" \
|
|
||||||
-bs $(SPEC)
|
-bs $(SPEC)
|
||||||
|
|
||||||
.PHONY: local-rpm
|
.PHONY: local-rpm
|
||||||
|
@ -32,7 +32,6 @@ local-rpm: setup
|
||||||
--builddir $(BUILDDIR) \
|
--builddir $(BUILDDIR) \
|
||||||
--buildrootdir $(BUILDROOTDIR) \
|
--buildrootdir $(BUILDROOTDIR) \
|
||||||
--define "yyyymmdd $(YYYYMMDD)" \
|
--define "yyyymmdd $(YYYYMMDD)" \
|
||||||
--define "_disable_source_fetch 0" \
|
|
||||||
-- $(SPEC) --noclean
|
-- $(SPEC) --noclean
|
||||||
|
|
||||||
.PHONY: local-clean
|
.PHONY: local-clean
|
||||||
|
@ -55,7 +54,6 @@ local-list-check: setup
|
||||||
--builddir $(BUILDDIR) \
|
--builddir $(BUILDDIR) \
|
||||||
--buildrootdir $(BUILDROOTDIR) \
|
--buildrootdir $(BUILDROOTDIR) \
|
||||||
--define "yyyymmdd $(YYYYMMDD)" \
|
--define "yyyymmdd $(YYYYMMDD)" \
|
||||||
--define "_disable_source_fetch 0" \
|
|
||||||
-- $(SPEC) -bl
|
-- $(SPEC) -bl
|
||||||
|
|
||||||
.PHONY: local-prep
|
.PHONY: local-prep
|
||||||
|
@ -65,7 +63,6 @@ local-prep: setup
|
||||||
--builddir $(BUILDDIR) \
|
--builddir $(BUILDDIR) \
|
||||||
--buildrootdir $(BUILDROOTDIR) \
|
--buildrootdir $(BUILDROOTDIR) \
|
||||||
--define "yyyymmdd $(YYYYMMDD)" \
|
--define "yyyymmdd $(YYYYMMDD)" \
|
||||||
--define "_disable_source_fetch 0" \
|
|
||||||
-- $(SPEC)
|
-- $(SPEC)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue