forge-srpm-macros/.copr/Makefile
Maxwell G 33eaafa551
ci copr: install python3-rpm for fclogr
fclogr requires python3-rpm to be installed which is no longer installed
by default as of Fedora 41.
2024-11-25 22:48:36 -06:00

11 lines
408 B
Makefile

# Copyright (C) 2024 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: GPL-1.0-or-later
outdir ::= results_forge-srpm-macros
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)