From a031b83a09a8628435317a03f199cdc18b78262f Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 1 Nov 2017 11:24:59 -0400 Subject: Initial checkin from CRI-O repo Signed-off-by: Matthew Heon --- contrib/rpm/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 contrib/rpm/Makefile (limited to 'contrib/rpm/Makefile') diff --git a/contrib/rpm/Makefile b/contrib/rpm/Makefile new file mode 100644 index 000000000..24bbca28c --- /dev/null +++ b/contrib/rpm/Makefile @@ -0,0 +1,14 @@ +.PHONY: dist +dist: crio.spec + spectool -g crio.spec + +.PHONY: rpm +rpm: dist + rpmbuild --define "_sourcedir `pwd`" --define "_specdir `pwd`" \ + --define "_rpmdir `pwd`" --define "_srcrpmdir `pwd`" -ba crio.spec + +all: rpm + +clean: + rm -f *rpm *gz + rm -rf x86_64 -- cgit v1.2.3-54-g00ecf