RPM macros to simplify the packaging of forge-hosted projects.
  • Lua 53.4%
  • Python 38.2%
  • Shell 5.5%
  • Makefile 2.9%
Find a file
Maxwell G 8866bbcd41
All checks were successful
builds.sr.ht/43 Job completed
builds.sr.ht/9 Job completed
builds.sr.ht/main Job completed
Fix CI badge (take 3)
2026-04-25 23:15:21 -05:00
.builds ci: fix EPEL builds (take 2) 2026-04-24 08:43:02 -05:00
.copr ci copr: install python3-rpm for fclogr 2024-11-25 22:48:36 -06:00
LICENSES add draft forge-srpm-macros.spec 2023-08-11 03:55:30 +00:00
rpm forgeversion: make sure nothing is stored in distprefix 2025-05-31 16:36:29 -05:00
tests forgeversion: make sure nothing is stored in distprefix 2025-05-31 16:36:29 -05:00
tools tools: update epel script to allow creating an EPEL 10 override 2024-11-25 22:39:33 -06:00
.gitignore tools: update epel script to allow creating an EPEL 10 override 2024-11-25 22:39:33 -06:00
.yamllint.yaml add noxfile to run tests and mockbuilds 2023-08-13 17:25:35 +00:00
ci.yml.in ci: fix EPEL builds (take 2) 2026-04-24 08:43:02 -05:00
cigen.sh Prepare migration to Fedora Forge 2026-04-21 22:46:37 -05:00
CONTRIBUTING.md Retire mailing list 2026-04-22 10:29:57 -05:00
forge-srpm-macros.spec tools: update epel script to allow creating an EPEL 10 override 2024-11-25 22:39:33 -06:00
Makefile tools: update epel script to allow creating an EPEL 10 override 2024-11-25 22:39:33 -06:00
NEWS.md Release 0.4.0 2024-09-27 16:04:13 -05:00
noxfile.py lint: fix ruff errors 2026-04-24 08:40:44 -05:00
README.md Fix CI badge (take 3) 2026-04-25 23:15:21 -05:00
rpmeval.sh License rpmeval.sh as GPL-1.0-or-later OR MIT 2023-10-15 17:05:56 +00:00
ruff.toml lint: address ruff deprecation warnings and regen config 2024-03-02 19:01:23 +00:00

forge-srpm-macros

builds.sr.ht status

copr build status (gotmax23/forge-srpm-macros-dev)

These macros simplify the packaging of forge-hosted projects. They automatically compute the Source urls based on macros set in the specfile. This code has been split out from redhat-rpm-config to ease maintenance.

Compatibility

The minimum supported RPM version is 4.16. The macros are tested in CI on Fedora 43+ and EL 9.

Contributing

See CONTRIBUTING.md.

License

This repository is licensed under

SPDX-License-Identifer: GPL-1.0-or-later