diff --git a/less.sh b/less.sh index 7643624..14f6fde 100755 --- a/less.sh +++ b/less.sh @@ -1,2 +1,2 @@ # less initialization script (sh) -[ -x /usr/bin/lesspipe.sh ] && export LESSOPEN="||/usr/bin/lesspipe.sh %s" +[ -x /usr/bin/lesspipe.sh ] && export LESSOPEN="${LESSOPEN-||/usr/bin/lesspipe.sh %s}" diff --git a/less.spec b/less.spec index d89fd52..cd02641 100644 --- a/less.spec +++ b/less.spec @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better Name: less Version: 444 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3+ Group: Applications/Text Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz @@ -68,6 +68,9 @@ ls -la $RPM_BUILD_ROOT/etc/profile.d rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 14 2012 Vojtech Vitek (V-Teq) - 444-7 +- Fix less.sh not to override user-defined LESSOPEN variable (#802757) + * Fri Feb 10 2012 Petr Pisar - 444-6 - Rebuild against PCRE 8.30