cri-o/contrib/rpm/Makefile
Dan Walsh 8ba639952a Add ocid.spec to build rpms
Signed-off-by: Dan Walsh <dwalsh@redhat.com>
2016-10-31 13:43:50 -04:00

14 lines
258 B
Makefile

.PHONY: dist
dist: ocid.spec
spectool -g ocid.spec
.PHONY: rpm
rpm: dist
rpmbuild --define "_sourcedir `pwd`" --define "_specdir `pwd`" \
--define "_rpmdir `pwd`" --define "_srcrpmdir `pwd`" -ba ocid.spec
all: rpm
clean:
rm -f *rpm *gz
rm -rf x86_64