Fix building in older SLE environments

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=26
This commit is contained in:
Adam Majer 2020-11-17 14:05:48 +00:00 committed by Git OBS Bridge
parent dceca7e869
commit ebe86ab1cb

View File

@ -104,7 +104,7 @@ cp %{S:5} %{S:6} .
-DCARES_BUILD_TESTS:BOOL=ON \
%endif
%{nil}
%cmake_build
make -O VERBOSE=1 %{?_smp_mflags}
%install
%if !%{with tests}
@ -114,7 +114,7 @@ cp %{S:5} %{S:6} .
%if %{with tests}
%check
pushd build
%make_build -C test
make -O VERBOSE=1 %{?_smp_mflags} -C test
./bin/arestest
%endif