Accepting request 769948 from home:adamm:node_test
- Upgrade to latest snapshot from 2020-01-17 - disable-live-tests.patch: refreshed - regression.patch: fix a regression in DNS results that contain both A and AAAA answers. - Add netcfg as the build requirement and runtime requirement. ares_getaddrinfo function uses the getservbyport_r function which requires the /etc/services file to function properly. That config file is provided by the netcfg package. Unit tests rely on it too, hence it has to be a build dependency as well. OBS-URL: https://build.opensuse.org/request/show/769948 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
90605f4d8d
commit
8c39f8b875
11
c-ares.spec
11
c-ares.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package c-ares
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC.
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,9 +18,9 @@
|
||||
|
||||
%define sonum 2
|
||||
%define libname libcares%{sonum}
|
||||
%define realver 1.15.0-20191108
|
||||
%define realver 1.15.0-20200117
|
||||
Name: c-ares
|
||||
Version: 1.15.0+20191108
|
||||
Version: 1.15.0+20200117
|
||||
Release: 0
|
||||
Summary: Library for asynchronous name resolves
|
||||
License: MIT
|
||||
@@ -33,9 +33,12 @@ Source3: %{name}.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch0: 0001-Use-RPM-compiler-options.patch
|
||||
Patch1: disable-live-tests.patch
|
||||
Patch2: regression.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
# Needed for getservbyport_r function to work properly.
|
||||
BuildRequires: netcfg
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
@@ -56,6 +59,8 @@ This package provides some tools that make use of c-ares.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Library for asynchronous name resolves
|
||||
# Needed for getservbyport_r function to work properly.
|
||||
Requires: netcfg
|
||||
|
||||
%description -n %{libname}
|
||||
c-ares is a C library that performs DNS requests and name resolves
|
||||
|
Reference in New Issue
Block a user