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