diff --git a/gsoap.spec b/gsoap.spec index 0c3ac42..ade8986 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -16,9 +16,13 @@ BuildRoot: %_tmppath/%name-%version-build BuildRequires: bison, fdupes flex, gcc-c++, pkgconfig %if 0%{?suse_version} >= 1130 BuildRequires: pkgconfig(gnutls), pkgconfig(libcrypto), pkgconfig(libssl) +%else +BuildRequires: libgnutls-devel, libopenssl-devel +%endif +%if 0%{?suse_version} >= 1140 BuildRequires: pkgconfig(zlib) %else -BuildRequires: libgnutls-devel, libopenssl-devel, zlib-devel +BuildRequires: zlib-devel %endif BuildRequires: xz