1
2rpm: rpm_dist
3 rpmbuild -bb \
4 ./build/bdist.linux-x86_64/rpm/SPECS/jnfilter.spec \
5 --define "_topdir $(PWD)/build/bdist.linux-x86_64/rpm/"
6
7rpm_dist:
8 python setup.py bdist_rpm
9
10clean:
11 python setup.py clean --all
12 rm -rf dist jnfilter.egg-info
13
14install_deps:
15 dnf install -y rpmdevtools rpmlint python