From e26d72e345462c31adad5062606c81ec01cffca3a93f6d0d9cc505dc721407c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Thu, 31 May 2012 12:54:37 +0000 Subject: [PATCH] BuildRequire pkg-config for post-10.2 systems and else pkgconfig. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=4 --- talloc.changes | 5 +++++ talloc.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/talloc.changes b/talloc.changes index bf51b3f..61ec9b7 100644 --- a/talloc.changes +++ b/talloc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 31 12:50:32 UTC 2012 - lmuelle@suse.com + +- BuildRequire pkg-config for post-10.2 systems and else pkgconfig. + ------------------------------------------------------------------- Thu May 31 11:45:48 UTC 2012 - lmuelle@suse.com diff --git a/talloc.spec b/talloc.spec index 68f5eec..e5cb8fc 100644 --- a/talloc.spec +++ b/talloc.spec @@ -24,6 +24,11 @@ BuildRequires: autoconf BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen BuildRequires: libxslt +%if 0%{?suse_version} > 1020 +BuildRequires: pkg-config +%else +BuildRequires: pkgconfig +%endif BuildRequires: python-devel Provides: bundled(libreplace) %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140