From de55610ae0dbf692446696e1dae8f855d3a6c84e5eab269a42970e20f0dab71b Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 23 Dec 2023 08:13:17 +0000 Subject: [PATCH] - Set version environment variable in specfile OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=14 --- harec.changes | 5 +++++ harec.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/harec.changes b/harec.changes index d3436dd..1c3535f 100644 --- a/harec.changes +++ b/harec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 23 08:12:46 UTC 2023 - Soc Virnyl Estela + +- Set version environment variable in specfile + ------------------------------------------------------------------- Sat Dec 16 01:01:49 UTC 2023 - socvirnyl.estela@gmail.com diff --git a/harec.spec b/harec.spec index 5d970f2..963ba4d 100644 --- a/harec.spec +++ b/harec.spec @@ -39,19 +39,18 @@ POSIX-compatible systems. mkdir -p build/ %build - export CFLAGS="%optflags" # Harec does not use autoconf pushd build/ ../configure -make %{?_smp_mflags} +make %{?_smp_mflags} VERSION="%{version}" popd %install export CFLAGS="%optflags" pushd build/ -make %{?_smp_mflags} DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install +make %{?_smp_mflags} VERSION="%{version}" DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install popd %check