From 0c6b65c4ac79a74e422f06ce6f8dd253fa250978 Mon Sep 17 00:00:00 2001 From: orange-snn Date: Wed, 11 Mar 2020 20:53:37 +0800 Subject: [PATCH] bugfix about conf --- openldap.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openldap.spec b/openldap.spec index d024304..761ea51 100644 --- a/openldap.spec +++ b/openldap.spec @@ -2,7 +2,7 @@ Name: openldap Version: 2.4.46 -Release: 14 +Release: 15 Summary: LDAP support libraries License: OpenLDAP URL: https://www.openldap.org/ @@ -276,6 +276,8 @@ perl -pi -e "s|%{buildroot}||g" %{buildroot}%{_sysconfdir}/openldap/*.conf perl -pi -e "s|%{buildroot}||g" %{buildroot}%{_mandir}/*/*.* rm -f %{buildroot}%{_sysconfdir}/openldap/*.default rm -f %{buildroot}%{_sysconfdir}/openldap/schema/*.default +rm -f %{buildroot}%{_sysconfdir}/openldap/slapd.conf +rm -f %{buildroot}%{_sysconfdir}/openldap/slapd.ldif install -d %{buildroot}%{_unitdir} install -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/slapd.service @@ -421,9 +423,6 @@ popd %config(noreplace) %{_sysconfdir}/openldap/ldap.conf %dir %{_libexecdir}/openldap/ %{_libdir}/lib*.so.* -%exclude %{_sysconfdir}/openldap/ldap.conf -%exclude %{_sysconfdir}/openldap/slapd.conf -%exclude %{_sysconfdir}/openldap/slapd.ldif %files servers %defattr(-,root,root) @@ -466,6 +465,9 @@ popd %doc ltb-project-openldap-ppolicy-check-password-1.1/README.check_pwd %changelog +* Wed Mar 11 2020 songnannan - 2.4.46-15 +- bugfix about conf file + * Fri Feb 21 2020 songnannan - 2.4.46-14 - Type:bugfix - ID:NA -- Gitee