1
0
forked from jengelh/openldap2

- 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 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 stored in a Relational (SQL) Database as an LDAP subtree without the need
to do any programming. to do any programming.
%package client-config %package -n libldap-data
Summary: Example configuration skeleton for libldap Summary: Configuration file for system-wide defaults for all usages of libldap.
Group: Productivity/Networking/LDAP Group: Productivity/Networking/LDAP
%if 0%{?suse_version} != 1110 %if 0%{?suse_version} != 1110
BuildArch: noarch BuildArch: noarch
%endif %endif
%description client-config %description -n libldap-data
This subpackage contains an example configuration file for libldap. The subpackage contains a configuration file used to set system-wide defaults
You can write your own configuration file (which is short in any to be applied with all usages of libldap.
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.
%package contrib %package contrib
Summary: OpenLDAP Contrib Modules Summary: OpenLDAP Contrib Modules
@ -224,7 +221,7 @@ for development.
%package -n libldap-2_4-2 %package -n libldap-2_4-2
Summary: OpenLDAP Client Libraries Summary: OpenLDAP Client Libraries
Group: Productivity/Networking/LDAP/Clients Group: Productivity/Networking/LDAP/Clients
Recommends: openldap2-client-config Recommends: libldap-data >= %{version_main}
%description -n libldap-2_4-2 %description -n libldap-2_4-2
This package contains the OpenLDAP client libraries. 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/bugs
%doc servers/slapd/back-sql/docs/install %doc servers/slapd/back-sql/docs/install
%files client-config %files -n libldap-data
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/openldap/ldap.conf %config(noreplace) %{_sysconfdir}/openldap/ldap.conf
%doc %{_mandir}/man5/ldap.conf* %doc %{_mandir}/man5/ldap.conf*