aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-26 15:50:22 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-26 17:37:27 +0200
commit5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb (patch)
tree2219077e2356ef97768f1344d76bd129d57995e7 /Makefile
parent0d5ae1108e33fe9a6f5b6f7e7414bc933cf2891a (diff)
downloadjnfilter-5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb.tar.gz
jnfilter-5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb.tar.bz2
jnfilter-5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb.zip
feat: Adiocina processo na pipeline para gerar rpm
Esse vai ser a forma padrao de dar deploy no `gabrielgio.me`.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
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