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