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 48679d415e
add _forge_util.lua module to simplify macro lookups
We'll rely on this until we can drop support for RPM 4.16 and RHEL 9.
The function have similar behavior to the macros table in the way that
they handle undefined macros.
2024-03-02 18:38:14 +00:00
.builds .builds: add f39 test 2023-11-06 04:35:14 +00:00
.copr add missing Copr Makefile 2023-08-13 17:42:31 +00:00
LICENSES add draft forge-srpm-macros.spec 2023-08-11 03:55:30 +00:00
rpm add _forge_util.lua module to simplify macro lookups 2024-03-02 18:38:14 +00:00
tests change %forge macro with %forgename macro 2023-12-07 05:12:17 +00:00
.gitignore add /fedora* to .gitignore 2023-09-07 20:52:46 +00: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 .builds: add f39 test 2023-11-06 04:35:14 +00:00
CONTRIBUTING.md flesh out CONTRIBUTING instructions 2023-09-04 20:07:55 +00:00
forge-srpm-macros.spec add _forge_util.lua module to simplify macro lookups 2024-03-02 18:38:14 +00:00
Makefile .builds: add reuse lint 2023-03-27 14:28:51 -05:00
NEWS.md Release 0.2.0 2023-12-07 05:46:17 +00:00
noxfile.py make linters happy 2023-08-13 18:12:59 +00:00
README.md .builds: add copr-webhook 2023-08-13 17:35:10 +00:00
rpmeval.sh License rpmeval.sh as GPL-1.0-or-later OR MIT 2023-10-15 17:05:56 +00:00
ruff.toml ruff.toml: sort and reformat file 2023-10-24 22:04:07 +00:00

forge-srpm-macros

builds.sr.ht status

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

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

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