Commit graph

99 commits

Author SHA1 Message Date
8866bbcd41
Fix CI badge (take 3)
All checks were successful
builds.sr.ht/43 Job completed
builds.sr.ht/9 Job completed
builds.sr.ht/main Job completed
2026-04-25 23:15:21 -05:00
0c0e3a10e9
ci: fix EPEL builds (take 2)
All checks were successful
builds.sr.ht/43 Job completed
builds.sr.ht/9 Job completed
builds.sr.ht/main Job completed
2026-04-24 08:43:02 -05:00
4f1a0a95e6
lint: fix ruff errors 2026-04-24 08:40:44 -05:00
8cf0a51e1c
ci: fix EPEL builds
Some checks reported errors
builds.sr.ht/43 Job completed
builds.sr.ht/9 Job failed
builds.sr.ht/main Job failed
2026-04-24 08:16:46 -05:00
05bff3dcac
Update README ci badge again to show only main branch runs
Some checks reported errors
builds.sr.ht/43 Job completed
builds.sr.ht/9 Job failed
builds.sr.ht/main Job failed
2026-04-22 13:53:04 -05:00
bc5ee93a8d
Update CI status badge in README
[skip ci]
2026-04-22 12:32:48 -05:00
a50824a4ed
trigger ci 2026-04-22 10:42:38 -05:00
8dfbf2fc0e
Retire mailing list 2026-04-22 10:29:57 -05:00
50f8b97e2a
Prepare migration to Fedora Forge 2026-04-21 22:46:37 -05:00
b4a5d46355
ci: awk -> gawk 2025-05-31 16:48:55 -05:00
0450f8f873
ci: add missing awk dependency 2025-05-31 16:40:18 -05:00
0538cc776d
ci: update Fedora versions 2025-05-31 16:37:59 -05:00
ca72c7b7fc
forgeversion: make sure nothing is stored in distprefix
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2359090
2025-05-31 16:36:29 -05:00
33eaafa551
ci copr: install python3-rpm for fclogr
fclogr requires python3-rpm to be installed which is no longer installed
by default as of Fedora 41.
2024-11-25 22:48:36 -06:00
500266d299
tools: update epel script to allow creating an EPEL 10 override
After discussion in the 2024-11-21 FPC meeting, I am updating the epel
build script to allow creating a forge-srpm-macros-epel backport package
that overrides the EL 10 package.
The backport package will address a critical bug that has gone unfixed
in RHEL and include other features that have been added since the EL 10
branching.

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2314083
Ref: https://issues.redhat.com/browse/RHEL-60802
Ref: https://meetbot.fedoraproject.org/meeting-1_matrix_fedoraproject-org/2024-11-21/fpc.2024-11-21-17.00.log.html
2024-11-25 22:39:33 -06:00
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
07464ee0ec
Release 0.4.0
Some checks reported errors
builds.sr.ht/39 Job failed
builds.sr.ht/40 Job failed
builds.sr.ht/main Job failed
builds.sr.ht/9 Job completed
v0.4.0
2024-09-27 16:04:13 -05:00
8114059d7e
doc README: remove references to nonexistent Copr repo
We only have a -dev Copr for this repository.
2024-08-17 07:38:14 -05:00
5b88e9a3d7
ci: remove Fedora 38 builds 2024-08-13 17:00:47 -05:00
6be567e9c6
Add support for go.googlesource.com and tests
Fixes: rhbz#2303884
2024-08-13 16:56:46 -05:00
d50d9af9ac
Release 0.3.2
Some checks reported errors
builds.sr.ht/38 Job failed
builds.sr.ht/39 Job failed
builds.sr.ht/main Job failed
builds.sr.ht/9 Job completed
v0.3.2
2024-08-06 20:18:05 -05:00
d8a5b8c184
macros: entirely remove the Release defined warning
This seems to cause false positives. Let's nix it completely.
2024-08-06 20:15:21 -05:00
a2fe6e5923
Release 0.3.1
Some checks reported errors
builds.sr.ht/9 Job completed
builds.sr.ht/38 Job failed
builds.sr.ht/39 Job failed
builds.sr.ht/main Job failed
v0.3.1
2024-04-10 16:24:56 +00:00
9e9ff33b6e
forgeversion: make version set after release a warning
Let's make parsing a bit more resilient.
2024-04-07 04:09:39 +00:00
25d1084489
Release 0.3.0
Some checks reported errors
builds.sr.ht/38 Job failed
builds.sr.ht/39 Job failed
builds.sr.ht/9 Job completed
builds.sr.ht/main Job failed
v0.3.0
2024-03-02 19:17:50 +00:00
0bf4926bab
nox: switch from FRAG.md NEWS_FRAGMENT.md for releaserr changelog 2024-03-02 19:04:57 +00:00
b308ee8af0
nox: install releaserr from PyPI 2024-03-02 19:02:13 +00:00
1dd6079450
nox: add shellcheck linter 2024-03-02 19:01:44 +00:00
a6e64cef92
lint: address ruff deprecation warnings and regen config 2024-03-02 19:01:23 +00:00
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
a447b944e7
lint: add missing license header 2024-03-02 18:48:03 +00:00
e786998312
nox: fix copy-paste error in srpm session 2024-03-02 18:38:16 +00:00
6841eb31ca
ci: test with EPEL 9 renaming in EL 9 job 2024-03-02 18:38:16 +00:00
4b6a9ef71e
Support building for EPEL 9 2024-03-02 18:38:16 +00:00
a5539f0b7f
Restore compatibility with RPM 4.16
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
2024-03-02 18:38:16 +00:00
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
a4f91f70e8
Update Requires for Fedora 39
Relates: https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/264
2024-02-23 15:08:55 +00:00
f65b3a6236
Make the package noarch
The package only contains text files. Nothing is architecture dependent.
2023-12-08 04:09:17 +00:00
cd071c62e0
Release 0.2.0
Some checks reported errors
builds.sr.ht/37 Job failed
builds.sr.ht/38 Job failed
builds.sr.ht/39 Job failed
builds.sr.ht/main Job failed
v0.2.0
2023-12-07 05:46:17 +00:00
8ddd2f14aa
change %forge macro with %forgename macro
Support for specifying forge schemes for unrecognized forges was added
in 6bd567d2ea.
This changes the macro name used to define the forge scheme from
`%forge` to `%forgename` to avoid potential namespace conflicts.
6bd567d2ea was never released, so this
should not break any package in the wild.
2023-12-07 05:12:17 +00:00
da3f35f848
.builds: add f39 test 2023-11-06 04:35:14 +00:00
bac2df0ae2
forge.lua: format forge variables table 2023-11-04 17:50:13 +00:00
6ee060464f
tests/vectors: add github_forgesource_branch 2023-11-04 17:36:18 +00:00
14807a6ce6
ruff.toml: sort and reformat file 2023-10-24 22:04:07 +00:00
c1baf22373
License rpmeval.sh as GPL-1.0-or-later OR MIT
This way, the script can be more easily reused in other Fedora macro
packages.
2023-10-15 17:05:56 +00:00
6e412b63dc
License test fixtures as GPL-1.0-or-later OR MIT
This way, they can be reused in other Fedora macro packages.
2023-09-18 22:31:00 +00:00
6bd567d2ea
Allow specifying a custom forge scheme
Users may wish to use the forge macros with self-hosted forges. Instead
of having to hardcode every single forge mapping, this allows users to
choose a forge scheme themselves.
2023-09-07 22:50:35 +00:00
11dd33c789
add /fedora* to .gitignore 2023-09-07 20:52:46 +00:00
6b0d67a162
packaging: consistently use macros 2023-09-07 20:50:35 +00:00
28ea1be97b
depend on a specific redhat-rpm-config version
Relates: https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/260
2023-09-07 16:27:55 +00:00