- Move ldap.conf into libldap-data package, per convention.

OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=157
This commit is contained in:
Howard Guo 2016-02-25 12:10:13 +00:00 committed by Git OBS Bridge
parent b3d4825a32
commit 91dfaea86e
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 25 11:06:12 UTC 2016 - hguo@suse.com
- Move ldap.conf into libldap-data package, per convention.
-------------------------------------------------------------------
Sun Feb 21 23:04:38 UTC 2016 - jengelh@inai.de

View File

@ -138,19 +138,16 @@ The primary purpose of this OpenLDAP backend is to present information
stored in a Relational (SQL) Database as an LDAP subtree without the need
to do any programming.
%package client-config
Summary: Example configuration skeleton for libldap
%package -n libldap-data
Summary: Configuration file for system-wide defaults for all usages of libldap.
Group: Productivity/Networking/LDAP
%if 0%{?suse_version} != 1110
BuildArch: noarch
%endif
%description client-config
This subpackage contains an example configuration file for libldap.
You can write your own configuration file (which is short in any
case) without needing this package; conversely, if you install this,
rpm may create and nag you with /etc/openldap/ldap.conf.rpmnew files
whenever the template happens to get changed.
%description -n libldap-data
The subpackage contains a configuration file used to set system-wide defaults
to be applied with all usages of libldap.
%package contrib
Summary: OpenLDAP Contrib Modules
@ -224,7 +221,7 @@ for development.
%package -n libldap-2_4-2
Summary: OpenLDAP Client Libraries
Group: Productivity/Networking/LDAP/Clients
Recommends: openldap2-client-config
Recommends: libldap-data >= %{version_main}
%description -n libldap-2_4-2
This package contains the OpenLDAP client libraries.
@ -563,7 +560,7 @@ fi
%doc servers/slapd/back-sql/docs/bugs
%doc servers/slapd/back-sql/docs/install
%files client-config
%files -n libldap-data
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/openldap/ldap.conf
%doc %{_mandir}/man5/ldap.conf*