--- pam_ldap.spec.orig 2006-06-12 01:31:34 +0400 +++ pam_ldap.spec 2006-07-25 11:21:16 +0400 @@ -2,7 +2,7 @@ Name: pam_ldap Version: 180 -Release: alt5.1 +Release: alt5.2 Summary: PAM module for LDAP Summary(ru_RU.KOI8-R): Модуль PAM для LDAP @@ -53,17 +53,19 @@ %configure \ --with-ldap-lib=openldap \ --with-ldap-conf-file=%_sysconfdir/pam_ldap.conf \ - --with-ldap-secret-file=%_sysconfdir/pam_ldap.secret + --with-ldap-secret-file=%_sysconfdir/pam_ldap.secret \ + --libdir=/%_lib + %make_build %make check %install -mkdir -p $RPM_BUILD_ROOT{%_sysconfdir,/lib,%_libdir} +mkdir -p $RPM_BUILD_ROOT{%_sysconfdir,/%_lib,%_libdir} # Install the nsswitch module. -install -pD -m755 pam_ldap.so $RPM_BUILD_ROOT/lib/security/pam_ldap.so +install -pD -m755 pam_ldap.so $RPM_BUILD_ROOT/%_lib/security/pam_ldap.so # Install the default configuration file, but change the search bases to # something generic. sed -e 's/dc=padl/dc=example/g' ldap.conf >$RPM_BUILD_ROOT%_sysconfdir/pam_ldap.conf @@ -73,7 +75,7 @@ %files -/lib/security/* +/%_lib/security/* ### This file is different from nss_ldap package! It's in TODO for next release %config(noreplace) %_sysconfdir/pam_ldap.conf %doc AUTHORS ChangeLog README pam.d ldap.conf