[nss-pam-ldapd/f16] - use the same conditional test for deciding when to create the .so symlink as we do later on for de

Nalin Dahyabhai nalin at fedoraproject.org
Mon Nov 28 17:53:16 UTC 2011


commit 5891d5b16ffee8257bf4add986e44418ef449e07
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date:   Mon Nov 28 12:53:02 2011 -0500

    - 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 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec
index 483eb70..3f83140 100644
--- a/nss-pam-ldapd.spec
+++ b/nss-pam-ldapd.spec
@@ -76,7 +76,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
@@ -256,6 +256,10 @@ exit 0
 %endif
 
 %changelog
+* Mon Nov 28 2011 Nalin Dahyabhai <nalin at 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)
+
 * Thu Jul 14 2011 Nalin Dahyabhai <nalin at redhat.com> 0.7.13-7
 - switch to only munging the contents of /etc/nslcd.conf on the very first
   install (#706454)


More information about the scm-commits mailing list