Set correct file access mode

This commit is contained in:
Alexey Ivanov 2015-03-23 11:41:16 +00:00
parent c1b73187e3
commit ec4fb6ecf2

View file

@ -8,7 +8,7 @@
Name: dhcp Name: dhcp
Epoch: 3 Epoch: 3
Version: %{major_version}%{patch_version} Version: %{major_version}%{patch_version}
Release: 4 Release: 6
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client
License: Distributable License: Distributable
Group: System/Servers Group: System/Servers
@ -151,6 +151,7 @@ Internet Software Consortium (ISC) dhcpctl API.
summary: OpenLDAP schema files from %{name}-%{EVRD} source tree summary: OpenLDAP schema files from %{name}-%{EVRD} source tree
Group: Databases Group: Databases
BuildArch: noarch BuildArch: noarch
Requires(pre): openldap-config
%prep %prep
%setup -q -n %{name}-%{major_version}%{patch_version} %setup -q -n %{name}-%{major_version}%{patch_version}
@ -375,4 +376,4 @@ rm -rf %{_var}/lib/dhclient/dhclient.leases
%{schema_dir}/*.schema %{schema_dir}/*.schema
%{schema_dir}/dhcpd-conf-to-ldap %{schema_dir}/dhcpd-conf-to-ldap
%config(noreplace) %{_sysconfdir}/openldap/schema/* %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