[nss-pam-ldapd] - when creating /var/run/nslcd in the buildroot, specify that 0755 is a permissions value and not

Nalin Dahyabhai nalin at fedoraproject.org
Thu Sep 23 15:09:43 UTC 2010


commit ecabfc70f2c061043e4e19bd0c5caa1d4c86ec2e
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Thu Sep 23 11:08:20 2010 -0400

    - 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 files 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 <nalin at redhat.com> 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 <nalin at redhat.com> 0.7.9-1
 - update to 0.7.9
 


More information about the scm-commits mailing list