From 9f9208881a95547e0e19049a7bd7bb3ca4b10b03a0e39af94536b6ab64077ad1 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Mon, 16 May 2011 21:54:18 +0000 Subject: [PATCH] Remove vi_VN local if suse_version < 11.3 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=120 --- libvirt.changes | 5 +++++ libvirt.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libvirt.changes b/libvirt.changes index 11418d2..1507f59 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 15 15:53:21 MDT 2011 - jfehlig@suse.de + +- Remove vi_VN locale if suse_version < 11.3 + ------------------------------------------------------------------- Thu May 5 19:01:54 MDT 2011 - jfehlig@suse.de diff --git a/libvirt.spec b/libvirt.spec index 9c246d3..db27ec8 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -599,6 +599,9 @@ cp -a AUTHORS ChangeLog COPYING NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{nam cd docs ; cp -a *.html $RPM_BUILD_ROOT%{_docdir}/%{name} ; cp -a *.png $RPM_BUILD_ROOT%{_docdir}/%{name} ; cd .. # remove currently unsupported locale(s) rm -rf $RPM_BUILD_ROOT/usr/share/locale/sr@latin +%if 0%{?suse_version} < 1130 +rm -rf $RPM_BUILD_ROOT/usr/share/locale/vi_VN +%endif mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/libvirt rm $RPM_BUILD_ROOT%{_libdir}/*.*a $RPM_BUILD_ROOT%{py_sitedir}/*.*a %find_lang %{name}