# 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 install -y llvm-snapshot-builder rpmbuild \ --define "_srcrpmdir $(outdir)" \ --define "_sourcedir $(shell pwd)" \ --define "_disable_source_fetch 0" \ -bs $(spec)