Require pkg-config only on SUSE.
authorcantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Wed, 27 Oct 2010 02:07:32 +0000 (02:07 +0000)
committercantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Wed, 27 Oct 2010 02:07:32 +0000 (02:07 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/branches/REL_2@608 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0

opensaml.spec.in

index 839b43e..676c720 100644 (file)
@@ -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