diff --git a/gsoap.spec b/gsoap.spec index ade8986..9253e96 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 +%endif +%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1130 BuildRequires: libgnutls-devel, libopenssl-devel %endif +%if 0%{?fedora_version} > 0 +BuildRequires: gnutls-devel, openssl-devel +%endif %if 0%{?suse_version} >= 1140 BuildRequires: pkgconfig(zlib) %else