Obsolete PADL's pam_ldap, build the one from nss-pam-ldapd

This commit is contained in:
Jakub Hrozek 2012-08-05 00:16:20 +02:00
parent c4ef74afcd
commit 7a4345c7ff

View File

@ -14,7 +14,7 @@
Name: nss-pam-ldapd Name: nss-pam-ldapd
Version: 0.7.16 Version: 0.7.16
Release: 4%{?dist} Release: 5%{?dist}
Summary: An nsswitch module which uses directory servers Summary: An nsswitch module which uses directory servers
Group: System Environment/Base Group: System Environment/Base
License: LGPLv2+ License: LGPLv2+
@ -39,10 +39,10 @@ Provides: nss-ldapd = %{version}-%{release}
Provides: nss_ldap = 265-12 Provides: nss_ldap = 265-12
Obsoletes: nss_ldap < 265-11 Obsoletes: nss_ldap < 265-11
# Pull in the pam_ldap module, which is its own package in F14 and later, to # Obsolete PADL's pam_ldap
# keep upgrades from removing the module. We currently disable nss-pam-ldapd's Provides: pam_ldap = 185-9
# own pam_ldap.so until it's more mature. Obsoletes: pam_ldap < 185-8
Requires: pam_ldap%{?_isa}
# Pull in nscd, which is recommended. # Pull in nscd, which is recommended.
Requires: nscd Requires: nscd
%if %{sysvinit} %if %{sysvinit}
@ -73,7 +73,7 @@ nsswitch module.
autoreconf -f -i autoreconf -f -i
%build %build
%configure --libdir=/%{_lib} --disable-pam %configure --libdir=/%{_lib}
make %{?_smp_mflags} make %{?_smp_mflags}
%check %check
@ -120,6 +120,7 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO %doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
%{_sbindir}/* %{_sbindir}/*
/%{_lib}/*.so.* /%{_lib}/*.so.*
/%{_lib}/security/pam_ldap.so
%{_mandir}/*/* %{_mandir}/*/*
%attr(0600,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/nslcd.conf %attr(0600,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/nslcd.conf
%if %{tmpfiles} %if %{tmpfiles}
@ -269,9 +270,12 @@ exit 0
%endif %endif
%changelog %changelog
* Sat Aug 05 2012 Jakub Hrozek <jhrozek@redhat.com> - 0.7.16-4 * Sun Aug 05 2012 Jakub Hrozek <jhrozek@redhat.com> - 0.7.16-5
- Obsolete PADL's nss_ldap - Obsolete PADL's nss_ldap
* Sat Aug 04 2012 Jakub Hrozek <jhrozek@redhat.com> - 0.7.16-4
- Build the PAM module, obsoletes PADL's pam-ldap
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.16-3 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild