From 063de5f532c9b8dc19b3a24a040f7476e7fde486ecaa215b247a2fa02b3f24cf Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Tue, 17 Nov 2020 20:39:07 +0000 Subject: [PATCH] - add missing upstream sources, to be removed for next release - remove unnecessary BuildRequires - fix building on SLE12 systems OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=29 --- c-ares.changes | 4 ++++ c-ares.spec | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/c-ares.changes b/c-ares.changes index 4d18ef2..1963a63 100644 --- a/c-ares.changes +++ b/c-ares.changes @@ -29,6 +29,10 @@ Tue Nov 17 12:07:22 UTC 2020 - Adam Majer For details, see https://c-ares.haxx.se/changelog.html +- add missing upstream sources, to be removed for next release +- remove unnecessary BuildRequires +- fix building on SLE12 systems + ------------------------------------------------------------------- Fri Sep 11 07:54:10 UTC 2020 - Tomáš Chvátal diff --git a/c-ares.spec b/c-ares.spec index 9be64f8..a58cb5b 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -49,16 +49,17 @@ Source0: http://c-ares.haxx.se/download/c-ares-%{version}.tar.gz Source1: http://c-ares.haxx.se/download/c-ares-%{version}.tar.gz.asc Source3: c-ares.keyring Source4: baselibs.conf +### REMOVE when upstream fixes https://github.com/c-ares/c-ares/issues/373 Source5: libcares.pc.cmake Source6: c-ares-config.cmake.in Patch0: 0001-Use-RPM-compiler-options.patch Patch1: disable-live-tests.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: libtool +%if %{with tests} # Needed for getservbyport_r function to work properly. BuildRequires: netcfg -BuildRequires: pkgconfig +%endif %description c-ares is a C library that performs DNS requests and name resolves