diff --git a/SOURCES/gzexe.patch b/SOURCES/gzexe.patch new file mode 100644 index 0000000..02f75e4 --- /dev/null +++ b/SOURCES/gzexe.patch @@ -0,0 +1,22 @@ +diff --git a/gzexe.in b/gzexe.in +index 6c61183..cffa84e 100644 +--- a/gzexe.in ++++ b/gzexe.in +@@ -145,7 +145,7 @@ for i do + if test $decomp -eq 0; then + (cat <<'EOF' && + #!/bin/sh +-skip=44 ++skip=49 + + tab=' ' + nl=' +@@ -201,7 +201,7 @@ EOF + + else + # decompression +- skip=44 ++ skip=49 + skip_line=`sed -e 1d -e 2q "$file"` + case $skip_line in + skip=[0-9] | skip=[0-9][0-9] | skip=[0-9][0-9][0-9]) diff --git a/SPECS/gzip.spec b/SPECS/gzip.spec index 18d8c59..9a1c99e 100644 --- a/SPECS/gzip.spec +++ b/SPECS/gzip.spec @@ -1,7 +1,7 @@ Summary: The GNU data compression program Name: gzip Version: 1.9 -Release: 4%{?dist} +Release: 4%{?dist}.0.1 # info pages are under GFDL license License: GPLv3+ and GFDL Group: Applications/File @@ -13,6 +13,8 @@ Source100: colorzgrep.csh Source101: colorzgrep.sh Patch1: gnulib.patch +Patch9999: gzexe.patch + # Fixed in upstream code. # http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/378 URL: http://www.gzip.org/ @@ -40,6 +42,8 @@ very commonly used data compression program. %prep %setup -q %patch1 -p1 -b .gnulib +%patch9999 -p1 -b .gzexe + cp %{SOURCE1} . %build @@ -93,6 +97,9 @@ fi %{profiledir}/* %changelog +* Sat Aug 10 2019 Pablo Greco - 1.9-4.0.1 +- Fix gzexe + * Tue Aug 07 2018 Jakub Martisko - 1.9-4 - Fix FTBFS bug (gnulib problems) - more details: https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html