Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Fedora Release Engineering
e6cc026ca1 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:40:35 +00:00
Fedora Release Engineering
6b87bf3d63 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 21:08:12 +00:00
Jan200101
a2da03a338
bump release for macro correction 2026-01-05 00:45:41 +01:00
Jan200101
bdf18e181b
make macro properly conditional
spec statements like %if are not valid macros and cannot be used here
checking the definition appears to be good enough in other macros
2026-01-05 00:44:00 +01:00
Jan200101
ec599293ef
limit build architectures for EPEL
Zig depends on a C compiler (gcc for EPEL/fedora) during bootstraping
by transpiling itself to C then compiling that.
The C code that is generated runs into edge cases with
older gcc versions that triggers unique errors on more exotic hardware
such as RISC or ARM
2026-01-04 17:53:25 +01:00
Fedora Release Engineering
de9463f617 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:18:17 +00:00
Fedora Release Engineering
970febd098 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:46:14 +00:00
2 changed files with 26 additions and 2 deletions

View file

@ -1,3 +1,9 @@
# zig_arches lists what arches Zig works on
# Zig depends on a C compiler (gcc) during bootstraping
# older versions of gcc fail to compile the transpiled code
# so we limit it to x86_64 on rhel
%zig_arches x86_64 aarch64 riscv64 %{mips64}
%zig_arches %{shrink: \
%{!?rhel:x86_64 aarch64 riscv64 %{mips64}} \
%{?rhel:x86_64} \
}

View file

@ -1,7 +1,7 @@
Name: zig-srpm-macros
Version: 1
Release: 3%{?dist}
Release: 9%{?dist}
Summary: SRPM macros required for Zig packages
License: MIT
@ -29,6 +29,24 @@ install -pm 644 macros.* %{buildroot}%{rpmmacrodir}/
%{rpmmacrodir}/macros.zig-srpm
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sun Jan 04 2026 Jan200101 <sentrycraft123@gmail.com> - 1-7
- correct macro definition to only use macros
* Sun Jan 04 2026 Jan200101 <sentrycraft123@gmail.com> - 1-6
- limit build architectures on EPEL
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild