SHA256
1
0
forked from pool/harec

Accepting request 1135737 from devel:tools:compiler

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1135737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/harec?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2024-01-03 11:25:13 +00:00 committed by Git OBS Bridge
commit 6931a601b7
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 Sat Dec 16 01:01:49 UTC 2023 - socvirnyl.estela@gmail.com

View File

@ -39,19 +39,18 @@ POSIX-compatible systems.
mkdir -p build/ mkdir -p build/
%build %build
export CFLAGS="%optflags" export CFLAGS="%optflags"
# Harec does not use autoconf # Harec does not use autoconf
pushd build/ pushd build/
../configure ../configure
make %{?_smp_mflags} make %{?_smp_mflags} VERSION="%{version}"
popd popd
%install %install
export CFLAGS="%optflags" export CFLAGS="%optflags"
pushd build/ pushd build/
make %{?_smp_mflags} DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install make %{?_smp_mflags} VERSION="%{version}" DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install
popd popd
%check %check