SHA256
1
0
forked from pool/libvirt

Accepting request 394064 from home:olh:branches:Virtualization

- Remove unknown locales to fix build in old dists

OBS-URL: https://build.opensuse.org/request/show/394064
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=527
This commit is contained in:
James Fehlig 2016-05-09 16:54:43 +00:00 committed by Git OBS Bridge
parent 36595c9b4c
commit 63954fab12
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 6 16:38:37 UTC 2016 - olaf@aepfle.de
- Remove unknown locales to fix build in old dists
-------------------------------------------------------------------
Tue May 3 02:26:32 UTC 2016 - jfehlig@suse.com

View File

@ -1237,10 +1237,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/connection-driver/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/connection-driver/*.a
%endif
# 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
for dir in $RPM_BUILD_ROOT/usr/share/locale/*
do
sdir=`echo $dir | sed "s|$RPM_BUILD_ROOT||"`
if test -d $sdir ; then continue ; fi
rm -rfv "$dir"
done
# temporarily remove polkit ACL policiy configuration - bnc#827644
rm -f $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/org.libvirt.api.policy