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
This commit is contained in:
Lars Müller 2014-05-23 15:59:27 +00:00 committed by Git OBS Bridge
parent da419372ef
commit f84dc5b3ac
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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