summaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 586ae08ece208482f2abf30468f0b0cf61850b74 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                   
# Run as
# make -f <cloned_repodir>/.copr/Makefile srpm outdir="<outdir>" spec="<spec_path>"
srpm:
	echo $(outdir)
	rpmbuild   --eval '%undefine scl' \
		--define "_sourcedir $(shell pwd)"  \
		--define "_srcrpmdir $(shell pwd)"  \
		--define "_rpmdir $(shell pwd)"  \
		--define "_topdir $(shell pwd)"  \
		--define "_builddir $(shell pwd)/build"  \
		-bs "./bogofilter.spec"