Fix domain search order (RHBZ #597286)
This commit is contained in:
parent
1b0821c845
commit
93729f5f40
|
@ -1,7 +1,7 @@
|
|||
Summary: A library that performs asynchronous DNS operations
|
||||
Name: c-ares
|
||||
Version: 1.7.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://c-ares.haxx.se/
|
||||
|
@ -9,6 +9,7 @@ Source0: http://c-ares.haxx.se/c-ares-%{version}.tar.gz
|
|||
Source1: LICENSE
|
||||
Patch0: %{name}-1.7.0-optflags.patch
|
||||
Patch1: 0001-Allow-the-use-of-IPv6-nameservers.patch
|
||||
Patch2: 0001-ares_init-Last-not-first-instance-of-domain-or-searc.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
|
@ -30,6 +31,7 @@ compile applications or shared objects that use c-ares.
|
|||
%setup -q
|
||||
%patch0 -p1 -b .optflags
|
||||
%patch1 -p1 -b .ipv6
|
||||
%patch2 -p1 -b .search
|
||||
cp %{SOURCE1} .
|
||||
f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
|
||||
|
||||
|
@ -66,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_mandir}/man3/ares_*
|
||||
|
||||
%changelog
|
||||
* Sun Mar 7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-4
|
||||
- Use last instance of search/domain, not the first one (#597286)
|
||||
|
||||
* Sun Mar 7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-3
|
||||
- Change IPv6 nameserver patch according to upstream changes
|
||||
(upstream revisions 1199,1201,1202)
|
||||
|
|
Loading…
Reference in New Issue