From b658b6803fff863e3964d963865416418900ef1f87b469c973aeeefa8a7fff62 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 3 Dec 2009 01:50:16 +0000 Subject: [PATCH] Accepting request 25382 from home:vuntz:branches:GNOME:Factory Copy from home:vuntz:branches:GNOME:Factory/mutter via accept of submit request 25382 revision 2. Request was accepted with message: Accepting... OBS-URL: https://build.opensuse.org/request/show/25382 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=16 --- mutter.changes | 6 ++++++ mutter.spec | 11 +++++------ 2 files changed, 11 insertions(+), 6 deletions(-) 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..01b7875 100644 --- a/mutter.spec +++ b/mutter.spec @@ -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)