From b9e5b5f81c7a3350b39fbbef7cf24a96a6abb8f6347be4188c28407180ff3f6a Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 11 Nov 2023 07:35:18 +0000 Subject: [PATCH] - Improve specfile. Add some comments OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=4 --- harec.changes | 5 +++++ harec.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/harec.changes b/harec.changes index a0a23c1..a42bfb4 100644 --- a/harec.changes +++ b/harec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 11 07:34:57 UTC 2023 - Soc Virnyl Estela + +- Improve specfile. Add some comments + ------------------------------------------------------------------- Fri Nov 10 12:24:19 UTC 2023 - Soc Virnyl Estela diff --git a/harec.spec b/harec.spec index 0635d06..2595e5a 100644 --- a/harec.spec +++ b/harec.spec @@ -38,23 +38,26 @@ POSIX-compatible systems. mkdir -p build/ %build + export CFLAGS="%optflags" + +# Harec does not use autoconf pushd build/ ../configure -make +make %{?_smp_mflags} popd %install export CFLAGS="%optflags" pushd build/ -make DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install +make %{?_smp_mflags} DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install +popd %check export CFLAGS="%optflags" cd build ../configure -make -make check +make %{?_smp_mflags} check %files %{_bindir}/%{name}