diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ed3ae00 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ + +rpm: rpm_dist + rpmbuild -bb \ + ./build/bdist.linux-x86_64/rpm/SPECS/jnfilter.spec \ + --define "_topdir $(PWD)/build/bdist.linux-x86_64/rpm/" + +rpm_dist: + python setup.py bdist_rpm + +clean: + python setup.py clean --all + rm -rf dist jnfilter.egg-info + +install_deps: + dnf install -y rpmdevtools rpmlint python |