|
|
915333f |
# See https://docs.pagure.org/copr.copr/user_documentation.html#make-srpm
|
|
|
4da45b4 |
# See for the --setopt option in the enabling of copr repo see:
|
|
|
4da45b4 |
# https://pagure.io/copr/copr/issue/184
|
|
|
915333f |
.PHONY: srpm
|
|
|
915333f |
srpm:
|
|
|
915333f |
dnf install -y dnf-plugins-core fedora-packager
|
|
|
69584f7 |
dnf install -y llvm-snapshot-builder
|
|
|
1cd4cbe |
rpmbuild \
|
|
|
1cd4cbe |
--define "_srcrpmdir $(outdir)" \
|
|
|
1cd4cbe |
--define "_sourcedir $(shell pwd)" \
|
|
|
1cd4cbe |
--define "_disable_source_fetch 0" \
|
|
|
1cd4cbe |
-bs $(spec)
|