From 700a47b4f8de6a137e9a37aff173c86c98e5f899 Mon Sep 17 00:00:00 2001 From: Michal Luscon Date: Thu, 14 Mar 2013 16:03:35 +0100 Subject: [PATCH] Fix: zforce does not work --- gzip-1.3.5-zforce.patch | 2 +- gzip.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gzip-1.3.5-zforce.patch b/gzip-1.3.5-zforce.patch index 5a9beca..b13c766 100644 --- a/gzip-1.3.5-zforce.patch +++ b/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 'compressed' > /dev/null; then new="$i.gz" if mv "$i" "$new"; then diff --git a/gzip.spec b/gzip.spec index c4b4b53..75d4cc2 100644 --- a/gzip.spec +++ b/gzip.spec @@ -1,7 +1,7 @@ Summary: The GNU data compression program Name: gzip Version: 1.5 -Release: 4%{?dist} +Release: 5%{?dist} # info pages are under GFDL license License: GPLv3+ and GFDL Group: Applications/File @@ -86,6 +86,9 @@ fi %{_infodir}/gzip.info* %changelog +* Thu Mar 14 2013 Michal Luscon 1.5-5 +- adjust gzip-1.3.5-zforce patch + * Thu Feb 14 2013 Fedora Release Engineering - 1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild