i686: use the C implementation of crc instead of asm
related: rhbz#2045075
This commit is contained in:
parent
3e45a7f350
commit
c4f9b2d5f5
10
unzip.spec
10
unzip.spec
@ -7,7 +7,7 @@
|
|||||||
Summary: A utility for unpacking zip files
|
Summary: A utility for unpacking zip files
|
||||||
Name: unzip
|
Name: unzip
|
||||||
Version: 6.0
|
Version: 6.0
|
||||||
Release: 55%{?dist}
|
Release: 56%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
||||||
|
|
||||||
@ -126,6 +126,10 @@ a zip archive.
|
|||||||
%patch33 -p1
|
%patch33 -p1
|
||||||
|
|
||||||
%build
|
%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
|
# IZ_HAVE_UXUIDGID is needed for right functionality of unzip -X
|
||||||
# NOMEMCPY solve problem with memory overlapping - decomression is slowly,
|
# NOMEMCPY solve problem with memory overlapping - decomression is slowly,
|
||||||
# but successfull.
|
# but successfull.
|
||||||
@ -143,6 +147,10 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 26 2022 Jakub Martisko <jamartis@redhat.com> - 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 <jamartis@redhat.com> - 6.0-55
|
* Wed Jan 05 2022 Jakub Martisko <jamartis@redhat.com> - 6.0-55
|
||||||
- Rebuild with the gating tests enabled
|
- Rebuild with the gating tests enabled
|
||||||
Related: rhbz#2036946
|
Related: rhbz#2036946
|
||||||
|
Loading…
Reference in New Issue
Block a user