public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ncdu] f44: Use zig_build_options to avoid duplication
@ 2026-06-27 20:50 Richard Fearn
0 siblings, 0 replies; only message in thread
From: Richard Fearn @ 2026-06-27 20:50 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-27 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 20:50 [rpms/ncdu] f44: Use zig_build_options to avoid duplication Richard Fearn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox