--- rpms/e-smith-base/sme9/e-smith-base.spec 2013/03/17 05:15:13 1.26 +++ rpms/e-smith-base/sme9/e-smith-base.spec 2013/03/22 16:47:56 1.27 @@ -1,10 +1,10 @@ -# $Id: e-smith-base.spec,v 1.25 2013/03/17 01:32:06 wellsi Exp $ +# $Id: e-smith-base.spec,v 1.26 2013/03/17 05:15:13 wellsi Exp $ Summary: e-smith server and gateway - base module %define name e-smith-base Name: %{name} %define version 5.4.0 -%define release 25 +%define release 26 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -34,6 +34,7 @@ Patch20: e-smith-base-5.4.0-no_modprobe. Patch21: e-smith-base-5.4.0-more_rsyslog.patch Patch22: e-smith-base-5.4.0-ConsoleBackupText.patch Patch23: e-smith-base-5.4.0-NICBonding.patch +Patch24: e-smith-base-5.4.0-rename_pam_ldap_conf.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: noarch Requires: pwauth @@ -81,6 +82,9 @@ AutoReqProv: no e-smith server and gateway software - base module. %changelog +* Fri Mar 22 2013 Daniel Berteaud 5.4.0-26.sme +- rename /etc/ldap.conf to /etc/pam_ldap.conf (and same for .secret) [SME: 7289] + * Sat Mar 16 2013 Ian Wells 5.4.0-25.sme - Always define InternalInterface NICBonding [SME: 7498] @@ -1608,6 +1612,11 @@ e-smith server and gateway software - ba %patch21 -p1 %patch22 -p1 %patch23 -p1 +%patch24 -p1 + +# We cannot remove an empy files or folders with a patch, see [SME: 7289] +# We remove this because it contains an empty template-begin file +rm -rf root/etc/e-smith/templates/etc/ldap.secret/ %pre /sbin/e-smith/create-system-user smelog 1002 \