This commit is contained in:
parent
09eadae3be
commit
00941dc566
2
less.csh
2
less.csh
@ -1,7 +1,7 @@
|
|||||||
#!/bin/csh
|
#!/bin/csh
|
||||||
# less initialization script (csh)
|
# less initialization script (csh)
|
||||||
if ( -x /usr/bin/lesspipe.sh ) then
|
if ( -x /usr/bin/lesspipe.sh ) then
|
||||||
if ( $?LESSOPEN && { eval 'test ! -z $LESSOPEN' } ) then
|
if ( $?LESSOPEN && { eval 'test ! -z "$LESSOPEN"' } ) then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
|
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
|
||||||
|
2
less.sh
2
less.sh
@ -1,4 +1,4 @@
|
|||||||
# less initialization script (sh)
|
# 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"
|
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
|
||||||
fi
|
fi
|
||||||
|
14
less.spec
14
less.spec
@ -1,8 +1,8 @@
|
|||||||
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: 479
|
Version: 479
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv3+
|
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
|
||||||
Source1: lesspipe.sh
|
Source1: lesspipe.sh
|
||||||
@ -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
|
install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/profile.d
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README NEWS INSTALL COPYING
|
%doc README NEWS INSTALL
|
||||||
%license LICENSE
|
%license LICENSE COPYING
|
||||||
/etc/profile.d/*
|
/etc/profile.d/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%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
|
- Updated spec file to comply with current Fedora Packaging Guidelines
|
||||||
Added missing documentation files
|
Added missing documentation files
|
||||||
- Fixed less profile.d scripts
|
- Fixed less profile.d scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user