This project contains files for managing my COPR repository:
https://copr.fedorainfracloud.org/coprs/jfhbrook/joshiverse/packages/
Note that, generally speaking, this project only manages builds for packages I don't own. Individual projects have their own files for configuring builds in COPR.
This project depends on the tools bundled in copr-tools.
Some of these projects - such as yq - use COPR's SRPM builds.
These builds use the Makefile in the .copr folder as their entry point. The only task used is srpm.
This Makefile is configured to call ./srpm.sh in the package's directory. Typically, this script will source prelude.sh, which sets some expected environment variables and exposes the tools stored in bin.
Of particular interest will be the download-sources script, which downloads
source files based on the Source[0-9] entries in a .spec.in file.
The templates directory contains some cookiecutter templates! Try running just new {{ name }} to generate a new package.
Note that there isn't a template for tito projects, since those are going to be pretty custom. Consider copy-pasting out of korbenware or coprctl.
There are a few broken builds:
starshipviuyq
I believe they're broken because I'm trying to use prebuilt binaries, when COPR only supports source builds. But more investigation needed.
These files and scripts are licensed MIT/X11. See LICENSE for details.