mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
f1c4e870ad
This reverts commit 072ee8575f
.
13 lines
554 B
Makefile
13 lines
554 B
Makefile
# See https://docs.pagure.org/copr.copr/user_documentation.html#make-srpm
|
|
# See for the --setopt option in the enabling of copr repo see:
|
|
# https://pagure.io/copr/copr/issue/184
|
|
.PHONY: srpm
|
|
srpm:
|
|
dnf install -y dnf-plugins-core fedora-packager
|
|
dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d @fedora-llvm-team/llvm-snapshot-builder
|
|
dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder
|
|
rpmbuild \
|
|
--define "_srcrpmdir $(outdir)" \
|
|
--define "_sourcedir $(shell pwd)" \
|
|
--define "_disable_source_fetch 0" \
|
|
-bs $(spec)
|