Fix: zforce does not work

This commit is contained in:
Michal Luscon 2013-03-14 16:03:35 +01:00
parent 1efc0be58c
commit 700a47b4f8
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ diff -up gzip-1.3.12/zforce.in.zforce gzip-1.3.12/zforce.in
fi fi
- if gzip -lv < "$i" 2>/dev/null | grep '^defl' > /dev/null; then - 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" new="$i.gz"
if mv "$i" "$new"; then if mv "$i" "$new"; then

View File

@ -1,7 +1,7 @@
Summary: The GNU data compression program Summary: The GNU data compression program
Name: gzip Name: gzip
Version: 1.5 Version: 1.5
Release: 4%{?dist} Release: 5%{?dist}
# info pages are under GFDL license # info pages are under GFDL license
License: GPLv3+ and GFDL License: GPLv3+ and GFDL
Group: Applications/File Group: Applications/File
@ -86,6 +86,9 @@ fi
%{_infodir}/gzip.info* %{_infodir}/gzip.info*
%changelog %changelog
* Thu Mar 14 2013 Michal Luscon <mluscon@redhat.com> 1.5-5
- adjust gzip-1.3.5-zforce patch
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild