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