diff --git a/gnome-keyring.spec b/gnome-keyring.spec index e067dbb..d78eb7a 100644 --- a/gnome-keyring.spec +++ b/gnome-keyring.spec @@ -58,6 +58,7 @@ Group: Development/Libraries Requires: %{name} = %{version}-%{release} # for /lib/security Requires: pam +Conflicts: filesystem < 3 %description pam The gnome-keyring-pam package contains a pam module that can @@ -68,9 +69,11 @@ automatically unlock the "login" keyring when the user logs in. %setup -q -n gnome-keyring-%{version} %build +# FIXME: The package requires its own devel subpackage for building????? +# could not build %configure --disable-gtk-doc \ --disable-update-mime \ - --with-pam-dir=/%{_lib}/security \ + --with-pam-dir=%{_libdir}/security \ --enable-pam # avoid unneeded direct dependencies @@ -81,7 +84,7 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT/%{_lib}/security/*.la +rm $RPM_BUILD_ROOT%{_libdir}/security/*.la rm $RPM_BUILD_ROOT%{_libdir}/*.la rm $RPM_BUILD_ROOT%{_libdir}/pkcs11/*.la rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la @@ -140,7 +143,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas %doc %{_datadir}/gtk-doc %files pam -/%{_lib}/security/*.so +%{_libdir}/security/*.so %changelog