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 a920e70dc2
macros: adjust forge{auto,}setup macros to reflect current practice
forgeautosetup is utilized by almost 300 packages and is generally
useful for single-source specfiles — i.e., the large majority of cases —
so there are no plans to remove it.
For non-forge packages, the default in Fedora is to use `%autosetup` so
patches are automatically applied; it makes sense to adopt the same
practice for the forge macros.
2024-10-20 22:01:28 -05:00
.builds ci: remove Fedora 38 builds 2024-08-13 17:00:47 -05: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 macros: adjust forge{auto,}setup macros to reflect current practice 2024-10-20 22:01:28 -05:00
tests Add support for go.googlesource.com and tests 2024-08-13 16:56:46 -05:00
tools Support building for EPEL 9 2024-03-02 18:38:16 +00:00
.gitignore nox: switch from FRAG.md NEWS_FRAGMENT.md for releaserr changelog 2024-03-02 19:04:57 +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 ci: remove Fedora 38 builds 2024-08-13 17:00:47 -05:00
CONTRIBUTING.md flesh out CONTRIBUTING instructions 2023-09-04 20:07:55 +00:00
forge-srpm-macros.spec Release 0.4.0 2024-09-27 16:04:13 -05:00
Makefile Support building for EPEL 9 2024-03-02 18:38:16 +00:00
NEWS.md Release 0.4.0 2024-09-27 16:04:13 -05:00
noxfile.py nox: switch from FRAG.md NEWS_FRAGMENT.md for releaserr changelog 2024-03-02 19:04:57 +00:00
README.md doc README: remove references to nonexistent Copr repo 2024-08-17 07:38:14 -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 38+ and EL 9.

Contributing

See CONTRIBUTING.md.

License

This repository is licensed under

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