From de2b0445935fff1eb91de7969ddbdc61fc049b4a Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 28 Nov 2011 12:54:21 -0500 Subject: [PATCH] - 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) --- nss-pam-ldapd.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec index e49017f..9df2649 100644 --- a/nss-pam-ldapd.spec +++ b/nss-pam-ldapd.spec @@ -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 +- 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 0.7.14-1 - new upstream release 0.7.14 - obsoletes nss-pam-ldapd-0.7.x-buffers.patch