From 8f89e53346cd86cc4758825642c9091f7549af70d2ab683c38637172d05d2bc2 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 8 Dec 2009 11:00:54 +0000 Subject: [PATCH] checked in OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=17 --- mutter.changes | 6 ------ mutter.spec | 11 ++++++----- 2 files changed, 6 insertions(+), 11 deletions(-) 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)