diff --git a/mutter.changes b/mutter.changes index 0fd3fcb..36bbfcb 100644 --- a/mutter.changes +++ b/mutter.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 76437e8..7b90419 100644 --- a/mutter.spec +++ b/mutter.spec @@ -30,10 +30,10 @@ BuildRequires: intltool BuildRequires: startup-notification-devel BuildRequires: update-desktop-files BuildRequires: zenity -License: GPL v2 or later +License: GPLv2+ Group: System/GUI/GNOME Version: 2.28.0 -Release: 1 +Release: 2 Summary: Window and compositing manager based on Clutter Source: %{name}-%{version}.tar.bz2 Url: http://www.gnome.org @@ -48,7 +48,7 @@ Mutter is a window and compositing manager based on Clutter, forked from Metacity. %package devel -License: GPL v2 or later +License: GPLv2+ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/GNOME Requires: %{name} = %{version} @@ -73,6 +73,11 @@ 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} @@ -107,12 +112,6 @@ 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)