ncurses is required by colorls.sh in coreutils-common

- colorls.sh uses tput from ncurses https://bugzilla.redhat.com/show_bug.cgi?id=469277
- colorls.sh was moved to -common package but the ncurses requirement
was not (in commit 5fb9bc4700 )
This commit is contained in:
James Cassell 2020-06-26 02:45:57 -04:00
parent 1f6e0df263
commit d72df4e29b

View File

@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils Name: coreutils
Version: 8.32 Version: 8.32
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv3+ License: GPLv3+
Url: https://www.gnu.org/software/coreutils/ Url: https://www.gnu.org/software/coreutils/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
@ -94,7 +94,6 @@ BuildRequires: glibc-langpack-ko
%endif %endif
Requires: %{name}-common = %{version}-%{release} Requires: %{name}-common = %{version}-%{release}
Requires: ncurses
Provides: coreutils-full = %{version}-%{release} Provides: coreutils-full = %{version}-%{release}
%include %{SOURCE51} %include %{SOURCE51}
@ -125,6 +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
Summary: coreutils common optional components Summary: coreutils common optional components
%description common %description common
Optional though recommended components, Optional though recommended components,
@ -266,6 +266,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%license COPYING %license COPYING
%changelog %changelog
* Fri Jun 26 2020 James Cassell <cyberpear@fedoraproject.org> - 8.32-7
- move ncurses to -common package since it's needed for colorls.sh
* 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