RPM macros to simplify the packaging of forge-hosted projects.
- Lua 53.4%
- Python 38.2%
- Shell 5.5%
- Makefile 2.9%
I have made the decision to restore compatibility with EL 9 and pause efforts in https://todo.sr.ht/~gotmax23/forge-srpm-macros/3 to continue adopting new RPM 4.17+ features. Packagers have requested the ability to use %forgeversion on EL 9, and we need to support it for tools like Packit and Zuul CI that build SRPMs in CentOS Stream containers to be able to adopt it. Relates: https://todo.sr.ht/~gotmax23/forge-srpm-macros/3 |
||
|---|---|---|
| .builds | ||
| .copr | ||
| LICENSES | ||
| rpm | ||
| tests | ||
| .gitignore | ||
| .yamllint.yaml | ||
| ci.yml.in | ||
| cigen.sh | ||
| CONTRIBUTING.md | ||
| forge-srpm-macros.spec | ||
| Makefile | ||
| NEWS.md | ||
| noxfile.py | ||
| README.md | ||
| rpmeval.sh | ||
| ruff.toml | ||
forge-srpm-macros
(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.
Links
- forge-srpm-macros project hub
- forge-srpm-macros git.sr.ht repo
- forge-srpm-macros tracker
- forge-srpm-macros mailing list (~gotmax/forge-srpm-macros@lists.sr.ht)
Compatibility
The minimum supported RPM version is 4.16. The macros are tested in CI on Fedora 38+ and EL 9.
Contributing
See CONTRIBUTING.md.
License
This repository is licensed under
SPDX-License-Identifer: GPL-1.0-or-later
