Fix: wrongly named long option in the manpage

Resolves: RHEL-70867
This commit is contained in:
Jakub Martisko 2025-07-01 14:09:21 +02:00
parent 3935750c9b
commit 077b03a6a9
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- ./man/zip.1.old 2024-12-11 10:51:22.837845520 +0100
+++ ./man/zip.1 2024-12-11 10:51:34.458142392 +0100
@@ -2297,7 +2297,7 @@
.B \-X
.TP
.PD
-.B \-\-no\-extra
+.B \-\-strip\-extra
Do not save extra file attributes (Extended Attributes on OS/2, uid/gid
and file times on Unix). The zip format uses extra fields to include
additional information for each entry. Some extra fields are specific

View File

@ -1,7 +1,7 @@
Summary: A file compression and packaging utility compatible with PKZIP
Name: zip
Version: 3.0
Release: 44%{?dist}
Release: 45%{?dist}
License: Info-ZIP
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
URL: http://www.info-zip.org/Zip.html
@ -20,6 +20,7 @@ Patch7: zip-gnu89-build.patch
Patch8: buffer_overflow.patch
Patch9: zip-3.0-configure.patch
Patch10: sast.patch
Patch11: zip-3.0-man-strip-extra.patch
BuildRequires: make
BuildRequires: bzip2-devel, gcc
Requires: unzip
@ -45,6 +46,7 @@ program.
%patch 8 -p1
%patch 9 -p1
%patch 10 -p1
%patch 11 -p1
%build
#Remove assembly file to force the c implementation of the crc functions
@ -75,6 +77,10 @@ mkdir -p $RPM_BULD_ROOT%{_mandir}/man1
%{_mandir}/man1/zipsplit.1*
%changelog
* Tue Jul 01 2025 Jakub Martisko <jamartis@redhat.com> - 3.0-45
- Fix wrongly named option in the manpage
Resolves: RHEL-70867
* Tue Jan 28 2025 Jakub Martisko <jamartis@redhat.com> - 3.0-44
- Fix overlaping strcpy
Resolves: RHEL-44646