make ncurses optional
This commit is contained in:
parent
d72df4e29b
commit
5d12163012
@ -15,7 +15,7 @@ alias l. 'ls -d .*'
|
|||||||
set COLORS=/etc/DIR_COLORS
|
set COLORS=/etc/DIR_COLORS
|
||||||
|
|
||||||
if ($?TERM) then
|
if ($?TERM) then
|
||||||
if ( -e "/etc/DIR_COLORS.256color" ) then
|
if ( -e "/etc/DIR_COLORS.256color" && -e "/usr/bin/tput" ) then
|
||||||
if ( "`/usr/bin/tput colors`" == "256" ) then
|
if ( "`/usr/bin/tput colors`" == "256" ) then
|
||||||
set COLORS=/etc/DIR_COLORS.256color
|
set COLORS=/etc/DIR_COLORS.256color
|
||||||
endif
|
endif
|
||||||
|
@ -124,7 +124,7 @@ packaged as a single multicall binary.
|
|||||||
# yum obsoleting rules explained at:
|
# yum obsoleting rules explained at:
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1107973#c7
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1107973#c7
|
||||||
Obsoletes: %{name} < 8.24-100
|
Obsoletes: %{name} < 8.24-100
|
||||||
Requires: ncurses
|
Recommends: ncurses
|
||||||
Summary: coreutils common optional components
|
Summary: coreutils common optional components
|
||||||
%description common
|
%description common
|
||||||
Optional though recommended components,
|
Optional though recommended components,
|
||||||
@ -268,6 +268,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 26 2020 James Cassell <cyberpear@fedoraproject.org> - 8.32-7
|
* Fri Jun 26 2020 James Cassell <cyberpear@fedoraproject.org> - 8.32-7
|
||||||
- move ncurses to -common package since it's needed for colorls.sh
|
- move ncurses to -common package since it's needed for colorls.sh
|
||||||
|
- make ncurses optional
|
||||||
|
|
||||||
* Fri May 15 2020 Kamil Dudka <kdudka@redhat.com> - 8.32-6
|
* Fri May 15 2020 Kamil Dudka <kdudka@redhat.com> - 8.32-6
|
||||||
- compile with -Dlint to enable optional initialization and cleanup code
|
- compile with -Dlint to enable optional initialization and cleanup code
|
||||||
|
Loading…
Reference in New Issue
Block a user