diff --git a/.c-ares.metadata b/.c-ares.metadata index 9f07a3d..911c2f9 100644 --- a/.c-ares.metadata +++ b/.c-ares.metadata @@ -1 +1 @@ -dde50284cc3d505fb2463ff6276e61d5531b1d68 SOURCES/c-ares-1.13.0.tar.gz +5b4989208c936d6445d4d73487634fe0b07e8ea7 SOURCES/c-ares-1.14.0.tar.gz diff --git a/SOURCES/c-ares-1.10.0-multilib.patch b/SOURCES/c-ares-1.10.0-multilib.patch new file mode 100644 index 0000000..4daa9d2 --- /dev/null +++ b/SOURCES/c-ares-1.10.0-multilib.patch @@ -0,0 +1,30 @@ +diff -up c-ares-1.10.0/ares_build.h.in.multilib c-ares-1.10.0/ares_build.h.in +--- c-ares-1.10.0/ares_build.h.in.multilib 2013-05-13 11:40:22.697814087 +0200 ++++ c-ares-1.10.0/ares_build.h.in 2013-05-13 11:40:26.236813966 +0200 +@@ -96,7 +96,14 @@ + #endif + + /* The size of `long', as computed by sizeof. */ +-#undef CARES_SIZEOF_LONG ++#include ++#if __WORDSIZE == 32 ++#define CARES_SIZEOF_LONG 4 ++#elif __WORDSIZE == 64 ++#define CARES_SIZEOF_LONG 8 ++#else ++#error "Unknown word size" ++#endif + + /* Integral data type used for ares_socklen_t. */ + #undef CARES_TYPEOF_ARES_SOCKLEN_T +diff -up c-ares-1.10.0/configure.ac.multilib c-ares-1.10.0/configure.ac +--- c-ares-1.10.0/configure.ac.multilib 2013-05-13 11:41:00.480812797 +0200 ++++ c-ares-1.10.0/configure.ac 2013-05-13 11:41:17.210812226 +0200 +@@ -457,7 +457,6 @@ AC_CHECK_SIZEOF(size_t) + AC_CHECK_SIZEOF(long) + AC_CHECK_SIZEOF(int) + AC_CHECK_SIZEOF(short) +-CARES_CONFIGURE_LONG + AC_CHECK_SIZEOF(time_t) + + AC_CHECK_TYPE(long long, diff --git a/SPECS/c-ares.spec b/SPECS/c-ares.spec index 3ae25ce..e96454d 100644 --- a/SPECS/c-ares.spec +++ b/SPECS/c-ares.spec @@ -1,7 +1,7 @@ Summary: A library that performs asynchronous DNS operations Name: c-ares -Version: 1.13.0 -Release: 5%{?dist} +Version: 1.14.0 +Release: 6%{?dist} License: MIT Group: System Environment/Libraries URL: http://c-ares.haxx.se/ @@ -9,8 +9,8 @@ Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz # The license can be obtained at http://c-ares.haxx.se/license.html Source1: LICENSE Patch0: 0001-Use-RPM-compiler-options.patch +Patch1: c-ares-1.10.0-multilib.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf BuildRequires: automake @@ -34,6 +34,7 @@ compile applications or shared objects that use c-ares. %prep %setup -q %patch0 -p1 -b .optflags +#%patch1 -p1 -b .multilib cp %{SOURCE1} . f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f @@ -49,19 +50,14 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la -%clean -rm -rf $RPM_BUILD_ROOT - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-, root, root) %doc README.cares CHANGES NEWS LICENSE %{_libdir}/*.so.* %files devel -%defattr(-, root, root, 0755) %{_includedir}/ares.h %{_includedir}/ares_build.h %{_includedir}/ares_dns.h @@ -72,8 +68,15 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/ares_* %changelog -* Mon Aug 13 2018 Jakub Hrozek - 1.13.0-5 -- Drop an unused patch +* Wed Nov 17 2021 Kaleb S. KEITHLEY - 1.14.0-6 +- rebuild from lookaside + +* Mon Sep 3 2018 Jakub Hrozek - 1.14.0-1 +- Update to the latest upstream +- Resolves: rhbz#1624499 - RFE: New c-ares release 1.14.0 available + +* Thu Jul 12 2018 Fedora Release Engineering - 1.13.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.13.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild