From 0625d0e5014f6ddcf02e6d6ffed7fa2ba57fd024 Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Wed, 17 Dec 2014 15:32:22 +0100 Subject: [PATCH] provide an unversioned symlink to check_password.so.1.1 So the users don't have to specify the exact version in their configuration. --- openldap.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openldap.spec b/openldap.spec index 62123ff..3b86cd0 100644 --- a/openldap.spec +++ b/openldap.spec @@ -265,7 +265,9 @@ popd # install check_password module pushd ltb-project-openldap-ppolicy-check-password-%{check_password_version} -install -m 755 check_password.so %{buildroot}%{_libdir}/openldap/ +mv check_password.so check_password.so.%{check_password_version} +ln -s check_password.so.%{check_password_version} %{buildroot}%{_libdir}/openldap/check_password.so +install -m 755 check_password.so.%{check_password_version} %{buildroot}%{_libdir}/openldap/ # install -m 644 README %{buildroot}%{_libdir}/openldap install -d -m 755 %{buildroot}%{_sysconfdir}/openldap cat > %{buildroot}%{_sysconfdir}/openldap/check_password.conf < %{buildroot}%{_sysconfdir}/openldap/check_password.conf < - 2.4.40-5 - harden the build - improve check_password +- provide an unversioned symlink to check_password.so.1.1 * Tue Dec 16 2014 Jan Synáček - 2.4.40-4 - remove openldap.pc