From 10300e25389890e452f393bb23cd688eff2aac0d8820e6c92d005789ef8d5b58 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 18 Oct 2011 18:44:53 +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=8 --- gsoap.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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