Notification time stamped 2022-12-31 17:16:34 UTC
From f45ddadd6a3ab32aa27f8db9547c25b21b63664c Mon Sep 17 00:00:00 2001
From: Todd Zullinger <tmz(a)pobox.com>
Date: Dec 30 2022 17:35:24 +0000
Subject: use %make_build and %make_install macros
These macros do the same thing as the previous code. They allow future
adjustments to the make command line to be more easily added.
---
diff --git a/ncdu.spec b/ncdu.spec
index 769dde4..c9096e9 100644
--- a/ncdu.spec
+++ b/ncdu.spec
@@ -24,10 +24,10 @@ and provides a fast way to see what directories are using your disk
space.
%build
%configure
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR=%{buildroot}
+%make_install
%files
%{_mandir}/man1/ncdu.1*
@@ -38,6 +38,7 @@ make install DESTDIR=%{buildroot}
%changelog
* Fri Dec 30 2022 Todd Zullinger <tmz(a)pobox.com> - 1.18-3
- verify upstream signatures in %%prep
+- use %%make_build and %%make_install macros
* Tue Dec 27 2022 Richard Fearn <richardfearn(a)gmail.com> - 1.18-2
- Use SPDX license identifier
https://src.fedoraproject.org/rpms/ncdu/c/f45ddadd6a3ab32aa27f8db9547c25b...