From fcc4efdd0645c495f57de0fc2f6436dd31e3463c Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Wed, 26 Jan 2022 13:53:17 +0100 Subject: [PATCH] i686: use the C implementation of crc instead of asm --- .unzip.metadata | 1 + unzip.spec | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .unzip.metadata diff --git a/.unzip.metadata b/.unzip.metadata new file mode 100644 index 0000000..556607e --- /dev/null +++ b/.unzip.metadata @@ -0,0 +1 @@ +abf7de8a4018a983590ed6f5cbd990d4740f8a22 unzip60.tar.gz diff --git a/unzip.spec b/unzip.spec index 7e4cc46..af1b163 100644 --- a/unzip.spec +++ b/unzip.spec @@ -7,7 +7,7 @@ Summary: A utility for unpacking zip files Name: unzip Version: 6.0 -Release: 55%{?dist} +Release: 56%{?dist} License: BSD Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz @@ -126,6 +126,10 @@ a zip archive. %patch33 -p1 %build +# Use the C implementation of CRC instead of assembly (only on i386, other architectures use C by default) +sed -i -e 's:-DASM_CRC::g' unix/configure +sed -i -e 's:CRC32OA="crc_gcc.o":CRC32OA="":g' unix/configure + # IZ_HAVE_UXUIDGID is needed for right functionality of unzip -X # NOMEMCPY solve problem with memory overlapping - decomression is slowly, # but successfull. @@ -143,6 +147,10 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{ %{_mandir}/*/* %changelog +* Wed Jan 26 2022 Jakub Martisko - 6.0-56 +- Use the C crc implementation instead of the asm (i686 only, other arches already use C) +Related: rhbz#2045075 + * Wed Jan 05 2022 Jakub Martisko - 6.0-55 - Rebuild with the gating tests enabled Related: rhbz#2036946