From 10fb2bbda6b68acbd74d5bda3f60e03716b12cf9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:36:40 +0000 Subject: import gzip-1.5-9.el7 --- diff --git a/SOURCES/gzip-1.3.5-zforce.patch b/SOURCES/gzip-1.3.5-zforce.patch index 5a9beca..d5d8769 100644 --- a/SOURCES/gzip-1.3.5-zforce.patch +++ b/SOURCES/gzip-1.3.5-zforce.patch @@ -6,7 +6,7 @@ diff -up gzip-1.3.12/zforce.in.zforce gzip-1.3.12/zforce.in fi - if gzip -lv < "$i" 2>/dev/null | grep '^defl' > /dev/null; then -+ if gzip -l < "$i" 2>/dev/null | grep '^compressed' > /dev/null; then ++ if gzip -l < "$i" 2>/dev/null | grep '^\s\+compressed' > /dev/null; then new="$i.gz" if mv "$i" "$new"; then diff --git a/SPECS/gzip.spec b/SPECS/gzip.spec index fd5a0e9..5795edf 100644 --- a/SPECS/gzip.spec +++ b/SPECS/gzip.spec @@ -1,7 +1,7 @@ Summary: The GNU data compression program Name: gzip Version: 1.5 -Release: 8%{?dist} +Release: 9%{?dist} # info pages are under GFDL license License: GPLv3+ and GFDL Group: Applications/File @@ -90,6 +90,10 @@ fi %{_infodir}/gzip.info* %changelog +* Tue Feb 28 2017 Petr Stodulka - 1.5-9 +- fix zfoce + Resolves: #1382054 + * Mon Mar 16 2015 Petr Stodulka - 1.5-8 - Gzip overwrite existing files when user choose "no" on yes/no question. It's due to wrong dupicit declaration of yesno() function in gzip.h