diff --git a/wget.spec b/wget.spec index 0a78008..dd1f55e 100644 --- a/wget.spec +++ b/wget.spec @@ -31,11 +31,13 @@ Patch0: wgetrc.patch Patch1: wget-libproxy.patch Patch3: wget-sni.patch BuildRequires: libpng-devel -%if 0%{suse_version} >= 1110 +%if 0%{suse_version} > 1110 BuildRequires: libproxy-devel %endif BuildRequires: openssl-devel +%if 0%{suse_version} > 0910 BuildRequires: pkg-config +%endif BuildRequires: libidn-devel PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build