lesspipe.sh: read *.rpm text files
Resolves: rhbz#1449790 Version: 487-3
This commit is contained in:
parent
8ba41a80f5
commit
f32e1da3d7
@ -1,7 +1,7 @@
|
|||||||
Summary: A text file browser similar to more, but better
|
Summary: A text file browser similar to more, but better
|
||||||
Name: less
|
Name: less
|
||||||
Version: 487
|
Version: 487
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv3+ or BSD
|
License: GPLv3+ or BSD
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
|
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/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 16 2017 Pavel Raiskup <praiskup@redhat.com> - 487-3
|
||||||
|
- read correctly text files named accidentally '*.rpm' (rhbz#1449790)
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 487-2
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 487-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -74,7 +74,8 @@ case "$1" in
|
|||||||
*.[zZ]|*.gz) gzip -dc -- "$1"; exit $? ;;
|
*.[zZ]|*.gz) gzip -dc -- "$1"; exit $? ;;
|
||||||
*.bz2) bzip2 -dc -- "$1"; exit $? ;;
|
*.bz2) bzip2 -dc -- "$1"; exit $? ;;
|
||||||
*.zip|*.jar|*.nbm) zipinfo -- "$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 $? ;;
|
*.cpi|*.cpio) cpio -itv < "$1"; exit $? ;;
|
||||||
*.gpg)
|
*.gpg)
|
||||||
if [ -x /usr/bin/gpg2 ]; then
|
if [ -x /usr/bin/gpg2 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user