diff --git a/sssd.changes b/sssd.changes index 427bef7..76e0e13 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 30 09:47:23 UTC 2011 - rhafer@suse.de + +- Should build in SLE-11-SP1 now + ------------------------------------------------------------------- Tue Mar 29 13:23:57 UTC 2011 - rhafer@suse.de diff --git a/sssd.spec b/sssd.spec index f96fa37..2aa5ddc 100644 --- a/sssd.spec +++ b/sssd.spec @@ -34,6 +34,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define pipepath %{sssdstatedir}/pipes %define pubconfpath %{sssdstatedir}/pubconf +# SLES11 doesn't know the python_* macros +%if %suse_version <= 1110 +%define python_sitelib %py_sitedir +%define python_sitearch %py_sitedir +%endif + ### Build Dependencies ### BuildRequires: autoconf BuildRequires: automake @@ -149,6 +155,18 @@ rm -f \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_ipa.la \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_simple.la \ $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.la + +%if %suse_version <= 1110 +# remove some unsupported languages, sssd does not contain +# translations for these anyway +rm -rf \ + $RPM_BUILD_ROOT/usr/share/locale/fa_IR \ + $RPM_BUILD_ROOT/usr/share/locale/ja_JP \ + $RPM_BUILD_ROOT/usr/share/locale/lt_LT \ + $RPM_BUILD_ROOT/usr/share/locale/ta_IN \ + $RPM_BUILD_ROOT/usr/share/locale/vi_VN +%endif + %find_lang %{name} --all-name %clean