--- rpms/e-smith-ldap/sme10/e-smith-ldap.spec 2022/11/22 19:28:40 1.20 +++ rpms/e-smith-ldap/sme10/e-smith-ldap.spec 2023/02/06 06:31:53 1.24 @@ -1,10 +1,10 @@ -# $Id: e-smith-ldap.spec,v 1.19 2022/04/18 03:54:37 jpp Exp $ +# $Id: e-smith-ldap.spec,v 1.23 2023/02/06 06:14:12 jpp Exp $ Summary: e-smith server and gateway - LDAP module %define name e-smith-ldap Name: %{name} %define version 5.6.0 -%define release 16 +%define release 17 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -21,6 +21,7 @@ Patch7: e-smith-ldap-5.6.0-bz11598.patch Patch8: e-smith-ldap-5.6.0-bz11745-log.patch Patch9: e-smith-ldap-5.6.0-bz11753-ldif-fix.patch Patch10: e-smith-ldap-5.6.0-bz12221-slapd-dropin.patch +Patch11: e-smith-ldap-5.6.0-bz12314-alias.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -39,6 +40,9 @@ AutoReqProv: no e-smith server and gateway software - LDAP module. %changelog +* Mon Feb 06 2023 Jean-Philippe Pialasse 5.6.0-17.sme +- remove alias for slapd [SME: 12314] + * Tue Nov 22 2022 Jean-Philippe Pialasse 5.6.0-16.sme - fix slapd dropin missing section [SME: 12221] @@ -1068,6 +1072,7 @@ rm -rf root/service root/var/service roo %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %build perl createlinks @@ -1096,6 +1101,9 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %pre +if [ -L /etc/systemd/system/slapd.service ] ; then + /usr/bin/unlink /etc/systemd/system/slapd.service +fi if [ $1 -gt 1 ] ; then if [ -e /var/service/ldap/run ] ; then /usr/bin/sv d ldap