From 30bfd5d86c9a82e62544296e5e5925e8ead3507d Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 27 Oct 2010 02:07:32 +0000 Subject: [PATCH] Require pkg-config only on SUSE. --- opensaml.spec.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.1.4