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 65d85e1efd
new copr-Makefile: use pygit2 from Fedora repos
Installing pygit2 with pip presents problems when there is no compiled
wheel available on PyPI.
2024-03-02 19:01:22 +00:00
.builds ci: test with EPEL 9 renaming in EL 9 job 2024-03-02 18:38:16 +00:00
.copr new copr-Makefile: use pygit2 from Fedora repos 2024-03-02 19:01:22 +00:00
LICENSES add draft forge-srpm-macros.spec 2023-08-11 03:55:30 +00:00
rpm lint: add missing license header 2024-03-02 18:48:03 +00:00
tests change %forge macro with %forgename macro 2023-12-07 05:12:17 +00:00
tools Support building for EPEL 9 2024-03-02 18:38:16 +00:00
.gitignore Support building for EPEL 9 2024-03-02 18:38:16 +00:00
.yamllint.yaml add noxfile to run tests and mockbuilds 2023-08-13 17:25:35 +00:00
ci.yml.in ci: test with EPEL 9 renaming in EL 9 job 2024-03-02 18:38:16 +00:00
cigen.sh Restore compatibility with RPM 4.16 2024-03-02 18:38:16 +00:00
CONTRIBUTING.md flesh out CONTRIBUTING instructions 2023-09-04 20:07:55 +00:00
forge-srpm-macros.spec Support building for EPEL 9 2024-03-02 18:38:16 +00:00
Makefile Support building for EPEL 9 2024-03-02 18:38:16 +00:00
NEWS.md Release 0.2.0 2023-12-07 05:46:17 +00:00
noxfile.py new copr-Makefile: use pygit2 from Fedora repos 2024-03-02 19:01:22 +00:00
README.md Restore compatibility with RPM 4.16 2024-03-02 18:38:16 +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

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