SHA256
1
0
forked from pool/harec

- Set version environment variable in specfile

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=14
This commit is contained in:
Soc Virnyl Estela
2023-12-23 08:13:17 +00:00
committed by Git OBS Bridge
parent 6aa4112fc3
commit de55610ae0
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Dec 23 08:12:46 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- Set version environment variable in specfile
-------------------------------------------------------------------
Sat Dec 16 01:01:49 UTC 2023 - socvirnyl.estela@gmail.com

View File

@@ -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