# Copyright (C) 2024 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: MIT

outdir ::= results_zstarfile

srpm:
	command -v pip || $(SUDO) dnf install -y python3-pip
	command -v fclogr || $(SUDO) dnf install -y python3-pygit2 python3-rpm
	command -v fclogr || pip install --user fclogr
	command -v nox || $(SUDO) dnf install -y nox
	python3 -m nox --no-venv -e srpm -- -o $(outdir)
