OBS User autobuild 2009-12-08 10:53:46 +00:00 committed by Git OBS Bridge
parent 705a5f170f
commit c5e1776fc4
2 changed files with 4 additions and 9 deletions

View File

@ -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

View File

@ -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)