Accepting request 360818 from home:jengelh:branches:network:ldap

with recommends and new name

OBS-URL: https://build.opensuse.org/request/show/360818
OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=156
This commit is contained in:
Howard Guo 2016-02-23 09:47:44 +00:00 committed by Git OBS Bridge
parent 7ecd27d588
commit b3d4825a32
2 changed files with 27 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Feb 21 23:04:38 UTC 2016 - jengelh@inai.de
- Move ldap.conf out of shlib package again, they are not allowed
there for obvious reasons (conflict with future package).
-------------------------------------------------------------------
Thu Feb 18 14:45:30 UTC 2016 - hguo@suse.com

View File

@ -138,6 +138,20 @@ 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
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.
%package contrib
Summary: OpenLDAP Contrib Modules
Group: Productivity/Networking/LDAP/Servers
@ -210,6 +224,7 @@ for development.
%package -n libldap-2_4-2
Summary: OpenLDAP Client Libraries
Group: Productivity/Networking/LDAP/Clients
Recommends: openldap2-client-config
%description -n libldap-2_4-2
This package contains the OpenLDAP client libraries.
@ -548,6 +563,12 @@ fi
%doc servers/slapd/back-sql/docs/bugs
%doc servers/slapd/back-sql/docs/install
%files client-config
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/openldap/ldap.conf
%doc %{_mandir}/man5/ldap.conf*
%{_sysconfdir}/openldap/ldap.conf.default
%files doc
%defattr(-,root,root)
%dir %{DOCDIR}
@ -588,9 +609,6 @@ fi
%files -n libldap-2_4-2
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/openldap/ldap.conf
%doc %{_mandir}/man5/ldap.conf*
%{_sysconfdir}/openldap/ldap.conf.default
%{_libdir}/liblber*2.4.so.*
%{_libdir}/libldap*2.4.so.*