diff --git a/less.spec b/less.spec index afc67be..8163135 100644 --- a/less.spec +++ b/less.spec @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better Name: less Version: 481 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3+ or BSD Group: Applications/Text Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz @@ -65,6 +65,9 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d %{_mandir}/man1/* %changelog +* Tue May 16 2017 Pavel Raiskup - 481-7 +- read correctly text files named accidentally '*.rpm' (rhbz#1449790) + * Tue Oct 11 2016 Ville Skyttä - 481-6 - Prefer gpg2 over gpg for *.gpg (rhbz#1383284) diff --git a/lesspipe.sh b/lesspipe.sh index 017fe2d..58f1ac1 100755 --- a/lesspipe.sh +++ b/lesspipe.sh @@ -74,7 +74,8 @@ case "$1" in *.[zZ]|*.gz) gzip -dc -- "$1"; exit $? ;; *.bz2) bzip2 -dc -- "$1"; exit $? ;; *.zip|*.jar|*.nbm) zipinfo -- "$1"; exit $? ;; -*.rpm) rpm -qpivl --changelog -- "$1"; exit $? ;; +# --nomanifest -> rhbz#1450277 +*.rpm) rpm -qpivl --changelog --nomanifest -- "$1"; exit $? ;; *.cpi|*.cpio) cpio -itv < "$1"; exit $? ;; *.gpg) if [ -x /usr/bin/gpg2 ]; then