diff --git a/mutter.changes b/mutter.changes index 36bbfcb..0fd3fcb 100644 --- a/mutter.changes +++ b/mutter.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Wed Dec 2 12:04:17 CET 2009 - vuntz@opensuse.org - -- Update the way we remove the ha, la, ig locales for old versions - of openSUSE. - ------------------------------------------------------------------- Thu Oct 8 18:47:29 CEST 2009 - vuntz@opensuse.org diff --git a/mutter.spec b/mutter.spec index 01b7875..76437e8 100644 --- a/mutter.spec +++ b/mutter.spec @@ -73,11 +73,6 @@ to develop applications that require these. %install %makeinstall -%if 0%{?suse_version} <= 1110 -%{__rm} %{buildroot}%{_datadir}/locale/ha/LC_MESSAGES/* -%{__rm} %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/* -%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/* -%endif %{__rm} %{buildroot}/%{_libdir}/*.la %suse_update_desktop_file %{name} %find_lang %{name} @@ -112,6 +107,12 @@ rm -rf %{buildroot} %doc %{_mandir}/man*/* %files lang -f %{name}.lang +%if %suse_version <= 1110 +# exclude locales which don't exist on old versions of openSUSE +%exclude %{_datadir}/locale/ha/LC_MESSAGES/* +%exclude %{_datadir}/locale/ig/LC_MESSAGES/* +%exclude %{_datadir}/locale/la/LC_MESSAGES/* +%endif %files devel %defattr (-, root, root)