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:
committed by
Git OBS Bridge
parent
6aa4112fc3
commit
de55610ae0
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user