aboutsummaryrefslogtreecommitdiff
path: root/.copr/Makefile
blob: a2a6e93cac96942b1d5d9d5e1462cc0029335632 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/make -f
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
outdir := $(CURDIR)

srpm:
	sh $(current_dir)/prepare.sh
	rpmbuild -bs -D "dist %{nil}" -D "_sourcedir build/" -D "_srcrpmdir $(outdir)" --nodeps contrib/spec/podman.spec