public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/zig] epel9: chore(epel9): enable bootstrap build for initial EPEL 9 side-tag
@ 2026-09-05 11:36 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-09-05 11:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/zig
            Branch : epel9
            Commit : e2def5753d888cbdf942d4068f0fd175e97c5c0f
            Author : Rénich Bon Ćirić <renich@evalinux.com>
            Date   : 2026-09-05T05:36:06-06:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/zig/c/e2def5753d888cbdf942d4068f0fd175e97c5c0f?branch=epel9

            Log:
            chore(epel9): enable bootstrap build for initial EPEL 9 side-tag

Enable %bcond bootstrap 1 and set bootstrap_release to build
zig-0.16.0-1~bootstrap.el9 directly from SCM into side-tag
epel9-build-side-150435.

Co-authored-by: Antigravity <antigravity@google.com>
Signed-off-by: Rénich Bon Ćirić <renich@woralelandia.com>

---
diff --git a/zig.spec b/zig.spec
index 8170ecc..d288b5f 100644
--- a/zig.spec
+++ b/zig.spec
@@ -16,11 +16,15 @@
 
 %global         llvm_version 21.1.8
 
-%bcond bootstrap 0
+%bcond bootstrap 1
 %bcond docs      %{without bootstrap}
 %bcond macro     %{without bootstrap}
 %bcond test      1
 
+%if %{with bootstrap}
+%global         bootstrap_release ~bootstrap
+%endif
+
 # GCC < 16.0 miscompiles on RISC-V 
 %ifarch riscv64
 %if 0%{?fedora} < 44
@@ -61,7 +65,7 @@
 
 Name:           zig
 Version:        0.16.0
-Release:        1%{?dist}
+Release:        1%{?bootstrap_release}%{?dist}
 Summary:        Programming language for maintaining robust, optimal, and reusable software
 # The minisign file references a specific archive name so we store for ease of use
 %global         archive_name %{name}-%{version}.tar.xz
@@ -221,6 +225,7 @@ help2man --no-discard-stderr --no-info "./zig-out/bin/zig" --version-option=vers
 %install
 %if %{with bootstrap}
 %cmake_install
+rm -rf %{buildroot}%{_prefix}/doc
 %else
 DESTDIR="%{buildroot}" zig build install %{zig_install_options}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-05 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-05 11:36 [rpms/zig] epel9: chore(epel9): enable bootstrap build for initial EPEL 9 side-tag 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox