diff --git a/less.spec b/less.spec index fa03f82..3162648 100644 --- a/less.spec +++ b/less.spec @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better Name: less Version: 487 -Release: 2%{?dist} +Release: 3%{?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 - 487-3 +- read correctly text files named accidentally '*.rpm' (rhbz#1449790) + * Fri Feb 10 2017 Fedora Release Engineering - 487-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 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