import zip-3.0-35.el9

c9 imports/c9/zip-3.0-35.el9
CentOS Sources 2 years ago committed by MSVSphere Packaging Team
parent b7ebc2a500
commit 9cb33b844d

@ -1,7 +1,7 @@
Summary: A file compression and packaging utility compatible with PKZIP Summary: A file compression and packaging utility compatible with PKZIP
Name: zip Name: zip
Version: 3.0 Version: 3.0
Release: 33%{?dist} Release: 35%{?dist}
License: BSD License: BSD
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
URL: http://www.info-zip.org/Zip.html URL: http://www.info-zip.org/Zip.html
@ -41,9 +41,10 @@ program.
%patch7 -p1 %patch7 -p1
%build %build
sed -i -e 's:-DASM_CRC::g' unix/configure #Remove assembly file to force the c implementation of the crc functions
sed -i -e 's:CRC32OA="crc_gcc.o":CRC32OA="":g' unix/configure #Related to 3.0-33 and 3.0-34
sed -i -e 's:OBJA=.*:OBJA="":g' unix/configure rm crc_i386.S
rm match.S
make -f unix/Makefile prefix=%{_prefix} CFLAGS_NOOPT="-I. -DUNIX -DNO_ASM $RPM_OPT_FLAGS" LFLAGS2="%{?__global_ldflags}" generic_gcc %{?_smp_mflags} make -f unix/Makefile prefix=%{_prefix} CFLAGS_NOOPT="-I. -DUNIX -DNO_ASM $RPM_OPT_FLAGS" LFLAGS2="%{?__global_ldflags}" generic_gcc %{?_smp_mflags}
@ -68,6 +69,14 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
%{_mandir}/man1/zipsplit.1* %{_mandir}/man1/zipsplit.1*
%changelog %changelog
* Tue Feb 14 2023 Jakub Martisko <jamartis@redhat.com> - 3.0-35
- Fix the annocheck issus from 3-0-33 without reintroducing the regression from 3.0-34
Related: rhbz#2162688
* Tue Jan 31 2023 Jakub Martisko <jamartis@redhat.com> - 3.0-34
- Fix the regression introduced in 3.0-33 that caused some of the zip build flags to be dropped
Resolves: rhbz#2162688
* Tue Feb 15 2022 Jakub Martisko <jamartis@redhat.com> - 3.0-33 * Tue Feb 15 2022 Jakub Martisko <jamartis@redhat.com> - 3.0-33
- Disable the asm implementation of some functions and use the C instead - Disable the asm implementation of some functions and use the C instead
- This should fix some of the annocheck issues - This should fix some of the annocheck issues

Loading…
Cancel
Save