From e98bf29f2bcc873ce2ddf74a6cd60fa2febaaeb73f8b517da00bc3065abd15e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Fri, 23 May 2014 19:16:23 +0000 Subject: [PATCH] Don't BuildRequire pkg-config from the main and libtdb package; require pkg-config from the devel packages instead. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=34 --- talloc.changes | 6 ++++++ talloc.spec | 15 ++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/talloc.changes b/talloc.changes index 5efca91..f3da628 100644 --- a/talloc.changes +++ b/talloc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 23 19:15:38 UTC 2014 - lmuelle@suse.com + +- Don't BuildRequire pkg-config from the main and libtdb package; require + pkg-config from the devel packages instead. + ------------------------------------------------------------------- Thu May 22 17:44:49 UTC 2014 - lmuelle@suse.com diff --git a/talloc.spec b/talloc.spec index 8503c0b..b163688 100644 --- a/talloc.spec +++ b/talloc.spec @@ -27,11 +27,6 @@ Name: talloc BuildRequires: autoconf BuildRequires: docbook-xsl-stylesheets BuildRequires: libxslt -%if 0%{?suse_version} > 1020 -BuildRequires: pkg-config -%else -BuildRequires: pkgconfig -%endif BuildRequires: python-devel %if 0%{?suse_version} > 1100 #!BuildIgnore: python @@ -81,6 +76,11 @@ This package includes the talloc2 library. Summary: Libraries and Header Files to Develop Programs with talloc2 Support Group: Development/Libraries/C and C++ Requires: %{libtalloc_name} = %{version} +%if 0%{?suse_version} > 1020 +Requires: pkg-config +%else +Requires: pkgconfig +%endif %description -n libtalloc-devel Talloc is a hierarchical, reference counted memory pool system with @@ -105,6 +105,11 @@ This package contains the python bindings for the Talloc library. Summary: Developer tools for the Talloc library Group: Development/Libraries/Python Requires: pytalloc = %{version} +%if 0%{?suse_version} > 1020 +Requires: pkg-config +%else +Requires: pkgconfig +%endif %description -n pytalloc-devel Libraries and Header Files to Develop Programs with pytalloc Support