From ecabfc70f2c061043e4e19bd0c5caa1d4c86ec2e Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Thu, 23 Sep 2010 11:08:20 -0400 Subject: [PATCH] - when creating /var/run/nslcd in the buildroot, specify that 0755 is a permissions value and not a directory name (#636880) --- nss-pam-ldapd.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec index ada6b92..070967e 100644 --- a/nss-pam-ldapd.spec +++ b/nss-pam-ldapd.spec @@ -1,6 +1,6 @@ Name: nss-pam-ldapd Version: 0.7.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An nsswitch module which uses directory servers Group: System Environment/Base License: LGPLv2+ @@ -57,7 +57,7 @@ fi sed -i -e 's,^uid.*,uid nslcd,g' -e 's,^gid.*,gid ldap,g' \ $RPM_BUILD_ROOT/%{_sysconfdir}/nslcd.conf touch -r nslcd.conf $RPM_BUILD_ROOT/%{_sysconfdir}/nslcd.conf -mkdir -p 0755 $RPM_BUILD_ROOT/var/run/nslcd +mkdir -p -m 0755 $RPM_BUILD_ROOT/var/run/nslcd %clean rm -rf $RPM_BUILD_ROOT @@ -167,6 +167,10 @@ fi exit 0 %changelog +* Thu Sep 23 2010 Nalin Dahyabhai 0.7.9-2 +- when creating /var/run/nslcd in the buildroot, specify that 0755 is a + permissions value and not another directory name (#636880) + * Mon Aug 30 2010 Nalin Dahyabhai 0.7.9-1 - update to 0.7.9