The rpkg
tool expects to have a spec.rpkg
file at the source root.
In order to build, first link the spec file to the expected location.
COPR builds can use the following script,
and configure git rpkg
in the Build dependencies field.
#!/bin/bash
set -Exeuo pipefail
git clone --branch main https://github.com/skupperproject/skupper-router.git
ln -s ${PWD}/skupper-router/packaging/skupper-router.spec.rpkg ./skupper-router/
rpkg srpm --outdir ./ --spec ./skupper-router