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
2023-08-13 17:25:35 +00:00
.builds add noxfile to run tests and mockbuilds 2023-08-13 17:25:35 +00:00
LICENSES add draft forge-srpm-macros.spec 2023-08-11 03:55:30 +00:00
rpm add %forgeversion to add snapshot info to Version 2023-08-13 16:57:01 +00:00
tests add noxfile to run tests and mockbuilds 2023-08-13 17:25:35 +00:00
.gitignore add .gitignore 2023-03-27 14:32:33 -05:00
.yamllint.yaml add noxfile to run tests and mockbuilds 2023-08-13 17:25:35 +00:00
ci.yml.in .builds: remove epel-rpm-macros rich dep altogether 2023-08-13 07:41:15 +00:00
cigen.sh ci: test on Fedora 37 and 38 2023-08-13 07:12:00 +00:00
CONTRIBUTING.md .builds: add reuse lint 2023-03-27 14:28:51 -05:00
forge-srpm-macros.spec add draft forge-srpm-macros.spec 2023-08-11 03:55:30 +00:00
Makefile .builds: add reuse lint 2023-03-27 14:28:51 -05:00
noxfile.py add noxfile to run tests and mockbuilds 2023-08-13 17:25:35 +00:00
README.md README: add Compatibility section 2023-08-13 07:19:00 +00:00
rpmeval.sh add rpmeval.sh to test macro evaluation 2023-03-28 22:53:04 -05:00
ruff.toml add noxfile to run tests and mockbuilds 2023-08-13 17:25:35 +00:00

forge-srpm-macros

builds.sr.ht status

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

Fedora 37 / RPM 4.18 and above are tested in CI.

These macros do not yet use any RPM 4.18+ features, but there are plans to adopt newer RPM features that are not available on older distributions like EL 9.

Contributing

See CONTRIBUTING.md.

License

This repository is licensed under

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

to match the license of redhat-rpm-config.