forked from jengelh/openldap2
Fix spec
OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=226
This commit is contained in:
parent
995ac11ee3
commit
9603bdafdf
@ -376,6 +376,7 @@ install -m 755 %{SOURCE6} ${RPM_BUILD_ROOT}/usr/sbin/schema2ldif
|
|||||||
install -m 755 %{SOURCE17} ${RPM_BUILD_ROOT}/usr/sbin
|
install -m 755 %{SOURCE17} ${RPM_BUILD_ROOT}/usr/sbin
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/
|
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/
|
||||||
install -m 644 %{SOURCE18} ${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
|
# 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
|
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}
|
%define DOCDIR %{_defaultdocdir}/%{name}
|
||||||
# Install default database optimisation
|
# 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 \
|
install -d ${RPM_BUILD_ROOT}/%{DOCDIR}/adminguide \
|
||||||
${RPM_BUILD_ROOT}/%{DOCDIR}/images \
|
${RPM_BUILD_ROOT}/%{DOCDIR}/images \
|
||||||
${RPM_BUILD_ROOT}/%{DOCDIR}/drafts
|
${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/admin/* ${RPM_BUILD_ROOT}/%{DOCDIR}/adminguide
|
||||||
install -m 644 doc/guide/images/*.gif ${RPM_BUILD_ROOT}/%{DOCDIR}/images
|
install -m 644 doc/guide/images/*.gif ${RPM_BUILD_ROOT}/%{DOCDIR}/images
|
||||||
install -m 644 doc/drafts/* ${RPM_BUILD_ROOT}/%{DOCDIR}/drafts
|
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(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.default
|
||||||
%config %attr(640, root, ldap) %{_sysconfdir}/openldap/slapd.conf.example
|
%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 %{_libdir}/openldap
|
||||||
%dir %{_libexecdir}/openldap
|
%dir %{_libexecdir}/openldap
|
||||||
%dir %{_sysconfdir}/sasl2
|
%dir %{_sysconfdir}/sasl2
|
||||||
|
Loading…
Reference in New Issue
Block a user