fclogr requires python3-rpm to be installed which is no longer installed by default as of Fedora 41.
11 lines
408 B
Makefile
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)
|