Accepting request 1175713 from home:dspinella:branches:Archiving
- Fix bsdunzip test failing due to a locale issue * fix-bsdunzip-test.patch OBS-URL: https://build.opensuse.org/request/show/1175713 OBS-URL: https://build.opensuse.org/package/show/Archiving/libarchive?expand=0&rev=124
This commit is contained in:
parent
9942b8eaa6
commit
8c325d81f6
19
fix-bsdunzip-test.patch
Normal file
19
fix-bsdunzip-test.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
commit 64e2e88ec326dd37fcb85c9a9d21fa43444a0a59
|
||||||
|
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
|
||||||
|
Date: Wed May 22 10:13:47 2024 +0200
|
||||||
|
|
||||||
|
Fix test failure on openSUSE:Leap:15.5
|
||||||
|
|
||||||
|
diff --git a/unzip/test/test_I.c b/unzip/test/test_I.c
|
||||||
|
index 5d31ce8d..92e5ce59 100644
|
||||||
|
--- a/unzip/test/test_I.c
|
||||||
|
+++ b/unzip/test/test_I.c
|
||||||
|
@@ -45,7 +45,7 @@ DEFINE_TEST(test_I)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extract_reference_file(reffile);
|
||||||
|
- r = systemf("%s -I UTF-8 %s >test.out 2>test.err", testprog, reffile);
|
||||||
|
+ r = systemf("env -uLC_ALL LC_CTYPE=en_US.UTF-8 %s -I UTF-8 %s >test.out 2>test.err", testprog, reffile);
|
||||||
|
assertEqualInt(0, r);
|
||||||
|
assertNonEmptyFile("test.out");
|
||||||
|
assertEmptyFile("test.err");
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 08:32:02 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
||||||
|
|
||||||
|
- Fix bsdunzip test failing due to a locale issue
|
||||||
|
* fix-bsdunzip-test.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 30 08:05:28 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
Tue Apr 30 08:05:28 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
||||||
|
|
||||||
|
@ -42,6 +42,10 @@ Source2: libarchive.keyring
|
|||||||
Source1000: baselibs.conf
|
Source1000: baselibs.conf
|
||||||
Patch1: lib-suffix.patch
|
Patch1: lib-suffix.patch
|
||||||
Patch2: fix-soversion.patch
|
Patch2: fix-soversion.patch
|
||||||
|
# PATCH-FIX-SUSE danilo.spinella@suse.com
|
||||||
|
# bsdunzip test fails because of a locale issue, set locale properly to fix it
|
||||||
|
# It will be fixed in the next release
|
||||||
|
Patch3: fix-bsdunzip-test.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user