diff --git a/ldb.changes b/ldb.changes index 91deb02..15fa9e5 100644 --- a/ldb.changes +++ b/ldb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 23 15:39:36 UTC 2014 - lmuelle@suse.com + +- Require pkg-config from the devel sub packages and do not BuildRequire it + from libldb. + ------------------------------------------------------------------- Mon May 5 11:38:58 UTC 2014 - lmuelle@suse.com diff --git a/ldb.spec b/ldb.spec index 937c5bc..9454bc8 100644 --- a/ldb.spec +++ b/ldb.spec @@ -60,11 +60,6 @@ Ldb is an LDAP-like embedded database. %package -n %{libldb_name} Summary: An LDAP-like embedded database Group: System/Libraries -%if 0%{?suse_version} > 1020 -BuildRequires: pkg-config -%else -BuildRequires: pkgconfig -%endif PreReq: /sbin/ldconfig %description -n %{libldb_name} @@ -77,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. @@ -106,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