From ec4fb6ecf23904b9bb0af7c8376473c8f5862c48 Mon Sep 17 00:00:00 2001 From: Alexey Ivanov Date: Mon, 23 Mar 2015 11:41:16 +0000 Subject: [PATCH] Set correct file access mode --- dhcp.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dhcp.spec b/dhcp.spec index 9c2c4c9..05f3bc5 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -8,7 +8,7 @@ Name: dhcp Epoch: 3 Version: %{major_version}%{patch_version} -Release: 4 +Release: 6 Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client License: Distributable Group: System/Servers @@ -151,6 +151,7 @@ Internet Software Consortium (ISC) dhcpctl API. summary: OpenLDAP schema files from %{name}-%{EVRD} source tree Group: Databases BuildArch: noarch +Requires(pre): openldap-config %prep %setup -q -n %{name}-%{major_version}%{patch_version} @@ -375,4 +376,4 @@ rm -rf %{_var}/lib/dhclient/dhclient.leases %{schema_dir}/*.schema %{schema_dir}/dhcpd-conf-to-ldap %config(noreplace) %{_sysconfdir}/openldap/schema/* -%config(noreplace) %{_sysconfdir}/openldap/slapd.d/%{name}.conf +%attr(750,ldap,ldap) %config(noreplace) %{_sysconfdir}/openldap/slapd.d/%{name}.conf