From a28379063c7d9e5a71f6e7c643853e1f7757b00722547d40c6f649eef2253790 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 18 Oct 2011 18:38:14 +0000 Subject: [PATCH] Add pkgconfig to requires for automatic pc symbol generation OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=7 --- gsoap.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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