From: Scott Cantor Date: Wed, 27 Oct 2010 02:07:32 +0000 (+0000) Subject: Require pkg-config only on SUSE. X-Git-Tag: 2.4RC1~2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=30bfd5d86c9a82e62544296e5e5925e8ead3507d Require pkg-config only on SUSE. --- diff --git a/opensaml.spec.in b/opensaml.spec.in index 839b43e..676c720 100644 --- a/opensaml.spec.in +++ b/opensaml.spec.in @@ -17,7 +17,10 @@ BuildRequires: libxml-security-c-devel >= 1.4.0 BuildRequires: libxmltooling-devel >= 1.4 %{?_with_log4cpp:BuildRequires: liblog4cpp-devel >= 1.0} %{!?_with_log4cpp:BuildRequires: liblog4shib-devel} -BuildRequires: gcc-c++, pkg-config +BuildRequires: gcc-c++ +%if 0%{?suse_version} > 1000 +BuildRequires: pkg-config +%endif %{!?_without_doxygen:BuildRequires: doxygen} %if "%{_vendor}" == "redhat" BuildRequires: redhat-rpm-config