diff --git a/unbound.spec b/unbound.spec index cae8799..2931cb4 100644 --- a/unbound.spec +++ b/unbound.spec @@ -9,7 +9,7 @@ License: BSD # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: openssl-devel -BuildRequires: ldns-devel +BuildRequires: ldns-devel > 1.2.9 # Url: http://www.unbound.net/ Source: http://www.unbound.net/downloads/unbound-%{version}.tar.gz @@ -24,9 +24,10 @@ a validating, recursive, and caching DNS resolver %prep %setup %patch +%{__rm} ldns-src.tar.gz %build -%configure --disable-rpath --disable-static +%configure --disable-rpath --disable-static --with-ldns=%{_prefix} %{__make} %install