Accepting request 1219527 from LibreOffice:Factory

Require UTF8 locale for tests

OBS-URL: https://build.opensuse.org/request/show/1219527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvisio?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2024-10-31 15:09:21 +00:00 committed by Git OBS Bridge
commit af92f89886
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 26 22:52:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- libvisio testsuite in combination with ICU 76.1 requires UTF-8
locale during %check [boo#1232061]
-------------------------------------------------------------------
Sun Aug 18 07:19:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libvisio
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
#
%{!?make_build:%global make_build make %{?_smp_mflags}}
%define libname libvisio-0_1-1
Name: libvisio
Version: 0.1.7
@ -93,7 +94,7 @@ export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
--disable-static \
--disable-silent-rules \
--docdir=%{_docdir}/%{name}-devel/html
make %{?_smp_mflags}
%make_build
%install
%make_install
@ -111,7 +112,8 @@ cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
%fdupes -s %{buildroot}
%check
make check %{?_smp_mflags}
export LANG=C.UTF-8
%make_build check
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig