public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Richard Fearn <richardfearn@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ncdu] f44: Use zig_build_options to avoid duplication
Date: Sat, 27 Jun 2026 20:50:42 GMT	[thread overview]
Message-ID: <178259344284.1.1671911014675166810.rpms-ncdu-3c032bd8cd08@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ncdu
Branch : f44
Commit : 3c032bd8cd08ef2fb48beb8a3badc67fd9bbf9b8
Author : Richard Fearn <richardfearn@gmail.com>
Date   : 2026-06-27T20:34:03+01:00
Stats  : +8/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ncdu/c/3c032bd8cd08ef2fb48beb8a3badc67fd9bbf9b8?branch=f44

Log:
Use zig_build_options to avoid duplication

---
diff --git a/ncdu.spec b/ncdu.spec
index a0adb13..eeb3e8e 100644
--- a/ncdu.spec
+++ b/ncdu.spec
@@ -3,9 +3,11 @@
 # From https://codeberg.org/ziglang/translate-c/src/tag/1.0.0/build.zig.zon#L12
 %global aro_commit 5f5a050569a95ecc40a426f0c3666ae7ef987ede
 
+%global zig_build_options -Dpie
+
 Name:           ncdu
 Version:        2.10.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Text-based disk usage viewer
 
 License:        MIT
@@ -36,10 +38,10 @@ and provides a fast way to see what directories are using your disk space.
 
 %build
 %zig_prep
-%zig_build -Dpie
+%zig_build
 
 %install
-%zig_install -Dpie
+%zig_install
 %{__make} install-doc PREFIX=%{buildroot}%{_prefix}
 
 %files
@@ -49,6 +51,9 @@ and provides a fast way to see what directories are using your disk space.
 %{_bindir}/ncdu
 
 %changelog
+* Sat Jun 27 2026 Richard Fearn <richardfearn@gmail.com> - 2.10.0-3
+- Use zig_build_options to avoid duplication
+
 * Sat Jun 27 2026 Richard Fearn <richardfearn@gmail.com> - 2.10.0-2
 - Use translate-c & arocc sources to build
 

                 reply	other threads:[~2026-06-27 20:50 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=178259344284.1.1671911014675166810.rpms-ncdu-3c032bd8cd08@fedoraproject.org \
    --to=richardfearn@gmail.com \
    --cc=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