From e5736c01a22089216d3b44ba19b03287532746d7cd3bbe1436dff2cf5b9657d7 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Fri, 15 Apr 2011 22:38:17 +0000 Subject: [PATCH] - use pkgconfig instead of pkg-config on SLES 9 OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=45 --- varnish.changes | 5 +++++ varnish.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/varnish.changes b/varnish.changes index 176aef3..c25b73c 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 15 22:36:02 UTC 2011 - mrueckert@suse.de + +- use pkgconfig instead of pkg-config on SLES 9 + ------------------------------------------------------------------- Sun Apr 3 23:38:24 UTC 2011 - jengelh@medozas.de diff --git a/varnish.spec b/varnish.spec index 4e4bc2f..db40484 100644 --- a/varnish.spec +++ b/varnish.spec @@ -26,7 +26,12 @@ License: BSD Group: Productivity/Networking/Web/Proxy # BuildRoot: %_tmppath/%name-%version-build -BuildRequires: libxslt, ncurses-devel, pcre-devel, pkg-config +BuildRequires: libxslt, ncurses-devel, pcre-devel +%if %{suse_version} >= 1010 +BuildRequires: pkg-config +%else +BuildRequires: pkgconfig +%endif Prereq(post): %_sbindir/useradd %_sbindir/groupadd %if 0%{?suse_version} Recommends: logrotate