diff --git a/gsoap.spec b/gsoap.spec index 3934856..48af168 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -38,29 +38,15 @@ BuildRequires: bison BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: pkgconfig -%if 0%{?suse_version} >= 1130 +BuildRequires: pkg-config +BuildRequires: xz BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libssl) -%endif -%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1130 -BuildRequires: libgnutls-devel -BuildRequires: libopenssl-devel -%endif +BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} BuildRequires: fdupes %endif -%if 0%{?fedora_version} > 0 -BuildRequires: gnutls-devel -BuildRequires: openssl-devel -%endif -%if 0%{?suse_version} >= 1140 -BuildRequires: pkgconfig(zlib) -%else -BuildRequires: zlib-devel -%endif -BuildRequires: xz %description The gSOAP toolkit provides a cross-platform software development