forked from pool/c-ares
- disable unit tests for SLE12 since GCC compiler too old to build
unit tests OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=45
This commit is contained in:
parent
e7ba41e9de
commit
f57624e19d
@ -12,6 +12,8 @@ Tue Dec 7 16:57:20 UTC 2021 - Adam Majer <adam.majer@suse.de>
|
|||||||
* Add support for URI(Uniform Resource Identifier) records via
|
* Add support for URI(Uniform Resource Identifier) records via
|
||||||
ares_parse_uri_reply()
|
ares_parse_uri_reply()
|
||||||
|
|
||||||
|
- disable unit tests for SLE12 since GCC compiler too old to build
|
||||||
|
unit tests
|
||||||
- 5c995d5.patch: upstreamed
|
- 5c995d5.patch: upstreamed
|
||||||
- disable-live-tests.patch: refreshed
|
- disable-live-tests.patch: refreshed
|
||||||
|
|
||||||
|
@ -87,16 +87,23 @@ to build packages that depend on c-ares.
|
|||||||
%autosetup -p1 -n c-ares-%{version}
|
%autosetup -p1 -n c-ares-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DCARES_BUILD_TESTS:BOOL=ON
|
%cmake \
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
|
-DCARES_BUILD_TESTS:BOOL=ON \
|
||||||
|
%endif
|
||||||
|
%nil
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
pushd build
|
pushd build
|
||||||
%cmake_build -C test
|
%cmake_build -C test
|
||||||
LD_LIBRARY_PATH=.%_libdir:./%_lib ./bin/arestest
|
LD_LIBRARY_PATH=.%_libdir:./%_lib ./bin/arestest
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user