This commit is contained in:
parent
09eadae3be
commit
00941dc566
2
less.csh
2
less.csh
@ -1,7 +1,7 @@
|
||||
#!/bin/csh
|
||||
# less initialization script (csh)
|
||||
if ( -x /usr/bin/lesspipe.sh ) then
|
||||
if ( $?LESSOPEN && { eval 'test ! -z $LESSOPEN' } ) then
|
||||
if ( $?LESSOPEN && { eval 'test ! -z "$LESSOPEN"' } ) then
|
||||
:
|
||||
else
|
||||
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
|
||||
|
2
less.sh
2
less.sh
@ -1,4 +1,4 @@
|
||||
# less initialization script (sh)
|
||||
if [ -x /usr/bin/lesspipe.sh ] && [ -z $LESSOPEN ]; then
|
||||
if [ -x /usr/bin/lesspipe.sh ] && [ -z "$LESSOPEN" ]; then
|
||||
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
|
||||
fi
|
||||
|
16
less.spec
16
less.spec
@ -1,15 +1,15 @@
|
||||
Summary: A text file browser similar to more, but better
|
||||
Name: less
|
||||
Version: 479
|
||||
Release: 2%{?dist}
|
||||
License: GPLv3+
|
||||
Release: 3%{?dist}
|
||||
License: GPLv3+ or BSD
|
||||
Group: Applications/Text
|
||||
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
|
||||
Source1: lesspipe.sh
|
||||
Source2: less.sh
|
||||
Source3: less.csh
|
||||
Source4: less.zsh
|
||||
Patch1: less-444-Foption.v2.patch
|
||||
Patch1: less-444-Foption.v2.patch
|
||||
Patch2: less-394-search.patch
|
||||
Patch4: less-394-time.patch
|
||||
Patch5: less-418-fsync.patch
|
||||
@ -64,14 +64,18 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
|
||||
install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/profile.d
|
||||
|
||||
%files
|
||||
%doc README NEWS INSTALL COPYING
|
||||
%license LICENSE
|
||||
%doc README NEWS INSTALL
|
||||
%license LICENSE COPYING
|
||||
/etc/profile.d/*
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 22 2015 Viktor Jancik <vjancik@redhat.com> - 479-2
|
||||
* Wed Sep 2 2015 Viktor Jancik <vjancik@redhat.com> - 479-3
|
||||
- Added missing double quotes in profile.d scripts
|
||||
- Corrected license information
|
||||
|
||||
* Mon Aug 24 2015 Viktor Jancik <vjancik@redhat.com> - 479-2
|
||||
- Updated spec file to comply with current Fedora Packaging Guidelines
|
||||
Added missing documentation files
|
||||
- Fixed less profile.d scripts
|
||||
|
Loading…
Reference in New Issue
Block a user