From 1712c050a1dca4970af67717779167982ae13907 Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Fri, 6 Sep 2024 16:51:00 +0200 Subject: [PATCH] Add architectures macro for Hare --- macros.hare-srpm | 4 ++++ redhat-rpm-config.spec | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 macros.hare-srpm diff --git a/macros.hare-srpm b/macros.hare-srpm new file mode 100644 index 0000000..8cb5abc --- /dev/null +++ b/macros.hare-srpm @@ -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 diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index aff0eb4..f627124 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -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 - 295-1 +- Define %%hare_arches with a list of Hare host architectures + * Wed Aug 14 2024 Frédéric Bérat - 294-1 - Update config.{guess,sub} to gnuconfig git HEAD