- Improve specfile. Add some comments
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/harec?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
6578d29c49
commit
b9e5b5f81c
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 11 07:34:57 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Improve specfile. Add some comments
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 12:24:19 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
|
11
harec.spec
11
harec.spec
@@ -38,23 +38,26 @@ POSIX-compatible systems.
|
||||
mkdir -p build/
|
||||
|
||||
%build
|
||||
|
||||
export CFLAGS="%optflags"
|
||||
|
||||
# Harec does not use autoconf
|
||||
pushd build/
|
||||
../configure
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
%install
|
||||
export CFLAGS="%optflags"
|
||||
pushd build/
|
||||
make DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install
|
||||
make %{?_smp_mflags} DESTDIR="%{buildroot}" BINDIR="%{_bindir}" install
|
||||
popd
|
||||
|
||||
%check
|
||||
export CFLAGS="%optflags"
|
||||
cd build
|
||||
../configure
|
||||
make
|
||||
make check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
|
Reference in New Issue
Block a user