forked from pool/c-ares
- Rename everything to c-ares
- Version update to 1.13.0: * Fixes bsc#1044946 CVE-2017-1000381 * Bunch of bugfixes - Drop cares-1.9.1-ocloexec.patch as it broke again and it is not really worth all the fwdporting - Drop check phase there is only return 0 - Version update to 1.12.0: * Fixes bsc#1007728 CVE-2016-5180 * api: add ARES_OPT_NOROTATE optmask value * Collection of bugfixes - update to 1.11.0: * Allow multiple -s options to the ahost command * api: Expose the ares_library_initialized() function * api: Add ares_set_sortlist(3) entrypoint * api: Add entrypoints to allow use of per-server ports * api: introduce `ares_parse_txt_reply_ext` * api: Add ares_set_socket_configure_callback() * Add -t u option to ahost * collection of bug fixes - No longer perform gpg validation; osc source_validator does it implicit: + Drop gpg-offline BuildRequires. + No longer execute gpg_verify. - Version bump to 1.10.0: OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=2
This commit is contained in:
parent
b7ef4ba2af
commit
1671fd544c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 09:35:01 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Rename everything to c-ares
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 19:35:16 UTC 2017 - tchvatal@suse.com
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libcares2
|
||||
# spec file for package c-ares
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@ -16,17 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%define pkg_name c-ares
|
||||
Name: libcares2
|
||||
%define libname libcares2
|
||||
Name: c-ares
|
||||
Version: 1.13.0
|
||||
Release: 0
|
||||
Summary: Library for asynchronous name resolves
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://c-ares.haxx.se/
|
||||
Source0: http://c-ares.haxx.se/download/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: http://c-ares.haxx.se/download/%{pkg_name}-%{version}.tar.gz.asc
|
||||
Source3: libcares2.keyring
|
||||
URL: http://c-ares.haxx.se/
|
||||
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
|
||||
Source1: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc
|
||||
Source3: %{name}.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch0: 0001-Use-RPM-compiler-options.patch
|
||||
BuildRequires: autoconf
|
||||
@ -40,19 +40,30 @@ c-ares is a C library that performs DNS requests and name resolves
|
||||
asynchronously. c-ares is a fork of the library named 'ares', written
|
||||
by Greg Hudson at MIT.
|
||||
|
||||
%package -n libcares-devel
|
||||
%package -n %{libname}
|
||||
Summary: Library for asynchronous name resolves
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libname}
|
||||
c-ares is a C library that performs DNS requests and name resolves
|
||||
asynchronously. c-ares is a fork of the library named 'ares', written
|
||||
by Greg Hudson at MIT.
|
||||
|
||||
%package devel
|
||||
Summary: Library for asynchronous name resolves
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{libname} = %{version}
|
||||
Requires: glibc-devel
|
||||
Provides: libcares-devel = %{version}
|
||||
Obsoletes: libcares-devel < %{version}
|
||||
|
||||
%description -n libcares-devel
|
||||
%description devel
|
||||
c-ares is a C library that performs DNS requests and name resolves
|
||||
asynchronously. c-ares is a fork of the library named 'ares', written
|
||||
by Greg Hudson at MIT.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
# Remove bogus cflags checking
|
||||
@ -71,18 +82,17 @@ autoreconf -fiv
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -n %{libname}
|
||||
%license LICENSE.md
|
||||
%{_libdir}/libcares.so.2*
|
||||
|
||||
%files -n libcares-devel
|
||||
%defattr(-,root,root)
|
||||
%files devel
|
||||
%{_libdir}/libcares.so
|
||||
%{_includedir}/*.h
|
||||
%{_mandir}/man3/ares_*
|
Loading…
Reference in New Issue
Block a user