OBS User autobuild 2009-12-08 11:00:54 +00:00 committed by Git OBS Bridge
parent b658b6803f
commit 8f89e53346
2 changed files with 6 additions and 11 deletions

View File

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

View File

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