From 33a5c1dc9fb57fa53ae666002a4ecef13ef23f9a54712066166fc1c216420f3c Mon Sep 17 00:00:00 2001 From: Otto Dassau Date: Wed, 14 Mar 2012 09:48:25 +0000 Subject: [PATCH] make centos and redhat compile OBS-URL: https://build.opensuse.org/package/show/Application:Geo/proj?expand=0&rev=13 --- proj.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proj.spec b/proj.spec index d5966c1..a56a4b5 100644 --- a/proj.spec +++ b/proj.spec @@ -28,7 +28,11 @@ Source0: proj-%{version}.tar.bz2 Source1: proj-datumgrid-1.5.zip BuildRequires: bzip2 BuildRequires: unzip +%if 0%{?centos_version} || 0%{?rhel_version} +BuildRequires: pkgconfig +%else BuildRequires: pkg-config +%endif Provides: libproj = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix}