|
|
|
@ -1,9 +1,8 @@
|
|
|
|
|
Summary: A file compression and packaging utility compatible with PKZIP
|
|
|
|
|
Name: zip
|
|
|
|
|
Version: 3.0
|
|
|
|
|
Release: 23%{?dist}
|
|
|
|
|
Release: 35%{?dist}
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: Applications/Archiving
|
|
|
|
|
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
|
|
|
|
|
URL: http://www.info-zip.org/Zip.html
|
|
|
|
|
|
|
|
|
@ -18,12 +17,10 @@ Patch4: man.patch
|
|
|
|
|
Patch5: zip-3.0-format-security.patch
|
|
|
|
|
Patch6: zipnote.patch
|
|
|
|
|
Patch7: zip-3.0-configure.patch
|
|
|
|
|
Patch8: zip-3.0-covscan1.patch
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: bzip2-devel, gcc
|
|
|
|
|
Requires: unzip
|
|
|
|
|
|
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The zip program is a compression and file packaging utility. Zip is
|
|
|
|
|
analogous to a combination of the UNIX tar and compress commands and
|
|
|
|
@ -41,11 +38,15 @@ program.
|
|
|
|
|
%patch4 -p1 -b .man
|
|
|
|
|
%patch5 -p1 -b .format-security
|
|
|
|
|
%patch6 -p1 -b .zipnote
|
|
|
|
|
%patch7 -p1 -b .zipconfigure
|
|
|
|
|
%patch8 -p1 -b .covscan1
|
|
|
|
|
%patch7 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
make -f unix/Makefile generic_gcc refix=%{_prefix} LFLAGS2="$RPM_LD_FLAGS" CFLAGS_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS" %{?_smp_mflags}
|
|
|
|
|
#Remove assembly file to force the c implementation of the crc functions
|
|
|
|
|
#Related to 3.0-33 and 3.0-34
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
@ -68,16 +69,55 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
|
|
|
|
|
%{_mandir}/man1/zipsplit.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 13 2018 Jakub Martisko <jamartis@redhat.com> - 3.0-23
|
|
|
|
|
- Set the ziperr function as noreturn
|
|
|
|
|
- Fix email in the previous chnagelog entry
|
|
|
|
|
- Related: #1602741
|
|
|
|
|
|
|
|
|
|
* Fri Oct 19 2018 Jakub Martisko <jamartis@redhat.com> - 3.0-22
|
|
|
|
|
- Add missing linker flags
|
|
|
|
|
- Port the configure patch from unzip that allows linker flags configuration
|
|
|
|
|
from the spec file
|
|
|
|
|
- Related: #1624188
|
|
|
|
|
* 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
|
|
|
|
|
- Disable the asm implementation of some functions and use the C instead
|
|
|
|
|
- This should fix some of the annocheck issues
|
|
|
|
|
Related: rhbz#2044902
|
|
|
|
|
|
|
|
|
|
* Thu Feb 03 2022 Jakub Martisko <jamartis@redhat.com> - 3.0-32
|
|
|
|
|
- Enable gating tests
|
|
|
|
|
Related: rhbz#2049738
|
|
|
|
|
|
|
|
|
|
* Wed Feb 02 2022 Jakub Martisko <jamartis@redhat.com> - 3.0-31
|
|
|
|
|
- Add the missing linker flags
|
|
|
|
|
- Add the patch that allows to configure the linker flags from the spec file
|
|
|
|
|
Resolves: rhbz #2044902
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.0-30
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.0-29
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-28
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-27
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-26
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-25
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Mar 01 2018 Jakub Martisko <jamartis@redhat.com> - 3.0-22
|
|
|
|
|
- Add gcc to buildrequires
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|