From f84dc5b3acf46e0f4cb8d02e54f72a7d08a814b49972811f083751a9df221c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Fri, 23 May 2014 15:59:27 +0000 Subject: [PATCH] Require pkg-config from the devel sub packages and not from the main one. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=46 --- ldb.changes | 2 +- ldb.spec | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ldb.changes b/ldb.changes index 0da3e8d..e3e52c3 100644 --- a/ldb.changes +++ b/ldb.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Fri May 23 15:39:36 UTC 2014 - lmuelle@suse.com -- Remove superfluous build requirement to pkg-config from the main package. +- Require pkg-config from the devel sub packages and not from the main one. ------------------------------------------------------------------- Mon May 5 11:38:58 UTC 2014 - lmuelle@suse.com diff --git a/ldb.spec b/ldb.spec index 0ab048f..9454bc8 100644 --- a/ldb.spec +++ b/ldb.spec @@ -72,6 +72,11 @@ This package includes the ldb1 library. Summary: Libraries and Header Files to Develop Programs with ldb1 Support Group: Development/Libraries/C and C++ Requires: %{libldb_name} = %{version} +%if 0%{?suse_version} > 1020 +Requires: pkg-config +%else +Requires: pkgconfig +%endif %description -n libldb-devel Ldb is an LDAP-like embedded database. @@ -101,6 +106,11 @@ This package contains the python bindings for the LDB library. Summary: Development files for the Python bindings for the LDB library Group: Development/Libraries/Python Requires: pyldb = %{version} +%if 0%{?suse_version} > 1020 +Requires: pkg-config +%else +Requires: pkgconfig +%endif %description -n pyldb-devel This package contains the development files for the Python bindings for the