- 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:
Soc Virnyl Estela
2023-11-11 07:35:18 +00:00
committed by Git OBS Bridge
parent 6578d29c49
commit b9e5b5f81c
2 changed files with 12 additions and 4 deletions

View File

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

View File

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