diff options
Diffstat (limited to 'contrib/rpm/Makefile')
-rw-r--r-- | contrib/rpm/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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 |