This commit is contained in:
committed by
Git OBS Bridge
parent
117da27f3a
commit
8b99c1a704
@@ -15,7 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%bcond_without test
|
||||||
Name: hare
|
Name: hare
|
||||||
Release: 0
|
Release: 0
|
||||||
Version: 1701471445.901444ae
|
Version: 1701471445.901444ae
|
||||||
@@ -112,11 +112,13 @@ export PLATFORM="linux"
|
|||||||
export ARCH="%{_arch}"
|
export ARCH="%{_arch}"
|
||||||
make %{?_smp_mflags} DESTDIR="%{buildroot}" install
|
make %{?_smp_mflags} DESTDIR="%{buildroot}" install
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
export CFLAGS="%optflags"
|
export CFLAGS="%optflags"
|
||||||
export PLATFORM="linux"
|
export PLATFORM="linux"
|
||||||
export ARCH="%{_arch}"
|
export ARCH="%{_arch}"
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Reference in New Issue
Block a user