diff --git a/gsoap.spec b/gsoap.spec index f7391c6..0c3ac42 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -13,8 +13,14 @@ Patch1: gsoap-01-sharedlibs.diff Patch2: gsoap-02-typepuns.diff Patch3: gsoap-03-initext.diff BuildRoot: %_tmppath/%name-%version-build -BuildRequires: bison, fdupes flex, gcc-c++, libgnutls-devel -BuildRequires: libopenssl-devel, zlib-devel, xz +BuildRequires: bison, fdupes flex, gcc-c++, pkgconfig +%if 0%{?suse_version} >= 1130 +BuildRequires: pkgconfig(gnutls), pkgconfig(libcrypto), pkgconfig(libssl) +BuildRequires: pkgconfig(zlib) +%else +BuildRequires: libgnutls-devel, libopenssl-devel, zlib-devel +%endif +BuildRequires: xz %description The gSOAP toolkit provides a cross-platform software development