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

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