public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/zig] epel9: chore(epel9): enable bootstrap build for initial EPEL 9 side-tag
Date: Sat, 05 Sep 2026 11:36:12 GMT	[thread overview]
Message-ID: <178860817272.1.1626501976259240044.rpms-zig-e2def5753d88@fedoraproject.org> (raw)

            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}
 

                 reply	other threads:[~2026-09-05 11:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178860817272.1.1626501976259240044.rpms-zig-e2def5753d88@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox