From 9603bdafdf854f083d3bd324ba54886d71faa0d36b084f8c44aeb94ba6f1c4bc Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Thu, 8 Nov 2018 17:33:32 +0000 Subject: [PATCH] Fix spec OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=226 --- openldap2.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openldap2.spec b/openldap2.spec index c13d542..e4f886c 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -376,6 +376,7 @@ install -m 755 %{SOURCE6} ${RPM_BUILD_ROOT}/usr/sbin/schema2ldif install -m 755 %{SOURCE17} ${RPM_BUILD_ROOT}/usr/sbin mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/ install -m 644 %{SOURCE18} ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/ +install -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_libexecdir}/openldap/ # Install ppolicy check module make -C contrib/slapd-modules/ppolicy-check-password STRIP="" "DESTDIR=${RPM_BUILD_ROOT}" "sysconfdir=%{_sysconfdir}/openldap" "libdir=%{_libdir}" "libexecdir=%{_libexecdir}" install @@ -404,11 +405,10 @@ rm -rf doc/guide/release %define DOCDIR %{_defaultdocdir}/%{name} # Install default database optimisation -install -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{DOCDIR}/ -install -m 644 ${RPM_BUILD_ROOT}/etc/openldap/DB_CONFIG.example ${RPM_BUILD_ROOT}/%{DOCDIR}/ install -d ${RPM_BUILD_ROOT}/%{DOCDIR}/adminguide \ ${RPM_BUILD_ROOT}/%{DOCDIR}/images \ ${RPM_BUILD_ROOT}/%{DOCDIR}/drafts +install -m 644 ${RPM_BUILD_ROOT}/etc/openldap/DB_CONFIG.example ${RPM_BUILD_ROOT}/%{DOCDIR}/ install -m 644 doc/guide/admin/* ${RPM_BUILD_ROOT}/%{DOCDIR}/adminguide install -m 644 doc/guide/images/*.gif ${RPM_BUILD_ROOT}/%{DOCDIR}/images install -m 644 doc/drafts/* ${RPM_BUILD_ROOT}/%{DOCDIR}/drafts @@ -481,7 +481,7 @@ fi %config(noreplace) %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf.olctemplate %config %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf.default %config %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf.example -%config(noreplace) %attr(640, ldap, ldap) /var/lib/ldap/DB_CONFIG +%config(noreplace) %attr(640, ldap, ldap) %{_libexecdir}/openldap/DB_CONFIG %dir %{_libdir}/openldap %dir %{_libexecdir}/openldap %dir %{_sysconfdir}/sasl2