From c5e1776fc47bf691d8d9996de7f9c0a692f101a6ad8685514b00db58da1ecf84 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 8 Dec 2009 10:53:46 +0000 Subject: [PATCH] checked in OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgtop?expand=0&rev=28 --- libgtop.changes | 6 ------ libgtop.spec | 7 ++++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/libgtop.changes b/libgtop.changes index 23c49f8..e828091 100644 --- a/libgtop.changes +++ b/libgtop.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Wed Dec 2 12:00:26 CET 2009 - vuntz@opensuse.org - -- Update the way we remove the la locale for old versions of - openSUSE. - ------------------------------------------------------------------- Tue Sep 22 19:43:04 CEST 2009 - dimstar@opensuse.org diff --git a/libgtop.spec b/libgtop.spec index 4bdc903..59801c8 100644 --- a/libgtop.spec +++ b/libgtop.spec @@ -145,9 +145,6 @@ translation-update-upstream %install %makeinstall -%if 0%{?suse_version} <= 1110 -%{__rm} %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/* -%endif %find_lang %{name}-2.0 LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.? | sed 's/.*\///;s/\.so\./-/;s/\./_/')" if test "$LIBNAME" != libgtop-2_0-7 ; then @@ -180,6 +177,10 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS COPYING NEWS README copyright.txt %files lang -f %{name}-2.0.lang +%if %suse_version <= 1110 +# exclude locales which don't exist on old versions of openSUSE +%exclude %{_datadir}/locale/la/LC_MESSAGES/* +%endif %files -n libgtop-2_0-7 %defattr(-, root, root)