[gzip] Fix: zforce does not work

mluscon mluscon at fedoraproject.org
Thu Mar 14 15:10:11 UTC 2013


commit 700a47b4f8de6a137e9a37aff173c86c98e5f899
Author: Michal Luscon <mluscon at redhat.com>
Date:   Thu Mar 14 16:03:35 2013 +0100

    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 <mluscon at redhat.com> 1.5-5
+- adjust gzip-1.3.5-zforce patch
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list