This commit is contained in:
Tom "spot" Callaway 2010-12-10 11:09:20 -05:00
parent a4003969d3
commit ee9ba88b30
3 changed files with 7 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
c-ares-1.7.3.tar.gz
/c-ares-1.7.4.tar.gz

View File

@ -1,7 +1,7 @@
Summary: A library that performs asynchronous DNS operations
Name: c-ares
Version: 1.7.3
Release: 3%{?dist}
Version: 1.7.4
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://c-ares.haxx.se/
@ -9,10 +9,6 @@ Source0: http://c-ares.haxx.se/c-ares-%{version}.tar.gz
Source1: LICENSE
Patch0: %{name}-1.7.0-optflags.patch
Patch1: c-ares-multilib.patch
# upstream patches from 1.4 development
Patch2: 0001-Add-missing-break-that-caused-get_ares_servers-to-fa.patch
Patch3: 0001-fix-memory-leak-in-ares_getnameinfo.patch
Patch4: 0001-Fix-aliasing-warning-in-gcc-4.4.4-at-least.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -35,9 +31,6 @@ compile applications or shared objects that use c-ares.
%setup -q
%patch0 -p1 -b .optflags
%patch1 -p1 -b .multilib
%patch2 -p1 -b .get_servers
%patch3 -p1 -b .memleak
%patch4 -p1 -b .gcc_warn
cp %{SOURCE1} .
f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
@ -74,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/ares_*
%changelog
* Fri Dec 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-1
- update to 1.7.4
* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-3
- Actually apply the patches

View File

@ -1 +1 @@
97ebef758804a6e9b6c0bc65d3c2c25a c-ares-1.7.3.tar.gz
dd71e8f07d9f3c837e12a5416d1b7f73 c-ares-1.7.4.tar.gz