Fix build

This commit is contained in:
Ray Strode 2013-07-25 08:17:17 -04:00
parent 2492190df4
commit a65c37c177

View File

@ -174,7 +174,18 @@ mkdir -p $RPM_BUILD_ROOT/run/gdm
find $RPM_BUILD_ROOT -name '*.a' -delete find $RPM_BUILD_ROOT -name '*.a' -delete
find $RPM_BUILD_ROOT -name '*.la' -delete find $RPM_BUILD_ROOT -name '*.la' -delete
# don't install fallback greeter
rm -rf $RPM_BUILD_ROOT%{_datadir}/gdm/simple-greeter
rm -rf $RPM_BUILD_ROOT%{_libdir}/gdm/simple-greeter
rm $RPM_BUILD_ROOT%{_libdir}/libgdmsimplegreeter.so*
rm $RPM_BUILD_ROOT%{_libexecdir}/gdm-simple-greeter
rm $RPM_BUILD_ROOT%{_datadir}/gnome-session/sessions/gdm-fallback.session
rm $RPM_BUILD_ROOT%{_datadir}/gdm/greeter/applications/gdm-simple-greeter.desktop
rm $RPM_BUILD_ROOT%{_datadir}/gdm/greeter/applications/polkit-gnome-authentication-agent-1.desktop rm $RPM_BUILD_ROOT%{_datadir}/gdm/greeter/applications/polkit-gnome-authentication-agent-1.desktop
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdmsimplegreeter.pc
rm -rf $RPM_BUILD_ROOT%{_includedir}/gdm/simple-greeter
rm -f $RPM_BUILD_ROOT%{_libexecdir}/gdm-smartcard-worker
rm -f $RPM_BUILD_ROOT%{_datadir}/gdm/gdm-greeter-login-window.ui
%find_lang gdm --with-gnome %find_lang gdm --with-gnome