Add architectures macro for Hare

This commit is contained in:
Dridi Boukelmoune 2024-09-06 16:51:00 +02:00
parent 0284b24c05
commit 1712c050a1
2 changed files with 9 additions and 1 deletions

4
macros.hare-srpm Normal file
View File

@ -0,0 +1,4 @@
# Architecture Hare and dependent packages run on. This is the intersection of
# supported architectures across the Hare tool chain, essentially limited by
# available QBE targets.
%hare_arches x86_64 aarch64 riscv64

View File

@ -4,7 +4,7 @@
# 2) When making changes, increment the version (in baserelease) by 1.
# rpmdev-bumpspec and other tools update the macro below, which is used
# in Version: to get the desired effect.
%global baserelease 294
%global baserelease 295
Summary: Red Hat-family-specific rpm configuration files
Name: redhat-rpm-config
@ -45,6 +45,7 @@ Source105: macros.valgrind-srpm
Source106: macros.java-srpm
Source107: macros.gap-srpm
Source108: macros.dotnet-srpm
Source109: macros.hare-srpm
# Other misc macros
Source150: macros.build-constraints
@ -254,6 +255,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
%doc buildflags.md
%changelog
* Fri Sep 06 2024 Dridi Boukelmoune <dridi@fedoraproject.org> - 295-1
- Define %%hare_arches with a list of Hare host architectures
* Wed Aug 14 2024 Frédéric Bérat <fberat@redhat.com> - 294-1
- Update config.{guess,sub} to gnuconfig git HEAD