--- pam_userpass.spec.orig 2004-01-03 22:11:06 +0300 +++ pam_userpass.spec 2004-07-23 21:18:13 +0400 @@ -1,6 +1,6 @@ Name: pam_userpass Version: 0.9.1 -Release: alt1 +Release: alt2 Summary: Pluggable authentication module for USER/PASS-style protocols License: LGPL @@ -69,10 +69,10 @@ %patch -p1 %build -%make_build CFLAGS="$RPM_OPT_FLAGS -Iinclude -fPIC -Werror" LDFLAGS= +%make_build CFLAGS="$RPM_OPT_FLAGS -Iinclude -fPIC -Werror" SECUREDIR=/%_lib/security LIBDIR=%_libdir LDFLAGS= %install -%make_install install DESTDIR=$RPM_BUILD_ROOT +%make_install install DESTDIR=$RPM_BUILD_ROOT SECUREDIR=/%_lib/security LIBDIR=%_libdir %define docdir %_docdir/%name-%version @@ -84,15 +84,15 @@ %__install -p -m644 conf/example_userpass \ $RPM_BUILD_ROOT%docdir/example/example_userpass.pamd -%__chmod a-x $RPM_BUILD_ROOT/lib/security/*.so* -%add_findprov_lib_path /lib/security +%__chmod a-x $RPM_BUILD_ROOT/%_lib/security/*.so* +%add_findprov_lib_path /%_lib/security %post -n %pam_name -p %post_ldconfig %postun -n %pam_name -p %postun_ldconfig %files -n %pam_name %_libdir/*.so.* -/lib/security/* +/%_lib/security/* %dir %docdir %docdir/[A-Z]* @@ -106,6 +106,9 @@ %_libdir/*.a %changelog +* Fri Jul 23 2004 Kachalov Anton 0.9.1-alt2 +- Change /lib to /%_lib. Added SECUREDIR and LIBDIR options to make + * Sat Jan 03 2004 Dmitry V. Levin 0.9.1-alt1 - Updated to 0.9.1 - Deal with compilation warnings generated by new gcc compiler.