- use the same conditional test for deciding when to create the .so symlink as we do later on for deciding when to include it in the package (#757004)

This commit is contained in:
Nalin Dahyabhai 2011-11-28 12:54:21 -05:00
parent ff163e4e39
commit de2b044593

View File

@ -79,7 +79,7 @@ install -p -m755 %{SOURCE2} $RPM_BUILD_ROOT/%{_initddir}/nslcd
%if %{systemd}
install -p -m755 %{SOURCE4} $RPM_BUILD_ROOT/lib/systemd/system/
%endif
%if 0%{?fedora} > 13
%if 0%{?fedora} > 13 || 0%{?rhel} > 5
# Follow glibc's convention and provide a .so symlink so that people who know
# what to expect can link directly with the module.
if test %{_libdir} != /%{_lib} ; then
@ -259,6 +259,10 @@ exit 0
%endif
%changelog
* Mon Nov 28 2011 Nalin Dahyabhai <nalin@redhat.com>
- use the same conditional test for deciding when to create the .so symlink as
we do later on for deciding when to include it in the package (#757004)
* Fri Sep 23 2011 Jakub Hrozek <jhrozek@redhat.com> 0.7.14-1
- new upstream release 0.7.14
- obsoletes nss-pam-ldapd-0.7.x-buffers.patch