From 9c00b5da673a3923f7bdcb5bbf1996b8a7891d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mr=C3=A1z?= Date: Fri, 16 Dec 2005 15:20:02 +0000 Subject: [PATCH] - fix dangling symlinks in -devel (#175929) - link libaudit only where necessary - actually compile in audit support --- pam.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pam.spec b/pam.spec index 8298d1b..41ace9d 100644 --- a/pam.spec +++ b/pam.spec @@ -11,7 +11,7 @@ Summary: A security tool which provides authentication for applications. Name: pam Version: 0.99.2.1 -Release: 1 +Release: 2 License: GPL or BSD Group: System Environment/Base Source0: ftp.us.kernel.org:/pub/linux/libs/pam/pre/library/Linux-PAM-%{version}.tar.bz2 @@ -202,7 +202,9 @@ done # of _libdir not changing, and *not* being /usr/lib. install -d -m 755 $RPM_BUILD_ROOT%{_libdir} for lib in libpam libpamc libpam_misc ; do -ln -sf ../../%{_lib}/${lib}.so.*.* $RPM_BUILD_ROOT%{_libdir}/${lib}.so +pushd $RPM_BUILD_ROOT%{_libdir} +ln -sf ../../%{_lib}/${lib}.so.*.* ${lib}.so +popd rm -f $RPM_BUILD_ROOT/%{_lib}/${lib}.so rm -f $RPM_BUILD_ROOT/%{_lib}/${lib}.la done @@ -359,6 +361,11 @@ fi %{_libdir}/libpam_misc.so %changelog +* Fri Dec 16 2005 Tomas Mraz 0.99.2.1-2 +- fix dangling symlinks in -devel (#175929) +- link libaudit only where necessary +- actually compile in audit support + * Thu Dec 15 2005 Tomas Mraz 0.99.2.1-1 - support netgroup matching in pam_succeed_if - upgrade to new release