From 5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 26 Jun 2022 15:50:22 +0200 Subject: feat: Adiocina processo na pipeline para gerar rpm Esse vai ser a forma padrao de dar deploy no `gabrielgio.me`. --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3