add package ksh-help to package ksh

This commit is contained in:
Liquor 2020-12-25 16:08:16 +08:00
parent 2e96ad6f04
commit 973469aed9

View File

@ -1,6 +1,6 @@
Name: ksh Name: ksh
Version: 2020.0.0 Version: 2020.0.0
Release: 4 Release: 5
Summary: The Original ATT Korn Shell Summary: The Original ATT Korn Shell
License: EPL License: EPL
URL: http://www.kornshell.com/ URL: http://www.kornshell.com/
@ -15,19 +15,16 @@ Patch1: CVE-2019-14868.patch
Provides: /bin/ksh /usr/bin/ksh Provides: /bin/ksh /usr/bin/ksh
BuildRequires: meson gcc glibc-devel ed BuildRequires: meson gcc glibc-devel ed
Conflicts: pdksh Conflicts: pdksh
Requires(post): grep, coreutils, systemd-units Requires(post): grep, coreutils, systemd-units chkconfig
Requires(preun): chkconfig
Requires(postun): sed Requires(postun): sed
Provides: ksh-help = %{epoch}:%{version}-%{release}
Obsoletes: ksh-help < %{epoch}:%{version}-%{release}
%description %description
KornShell is an interactive command language that provides access to the UNIX system and to KornShell is an interactive command language that provides access to the UNIX system and to
many other systems, on the many different computers and workstations on which it is implemented. many other systems, on the many different computers and workstations on which it is implemented.
%package help
Summary: Documentation for ksh package
%description help
Documentation for ksh package.
%prep %prep
%autosetup -p1 -n %{name}-%{version} %autosetup -p1 -n %{name}-%{version}
@ -81,15 +78,18 @@ done
%files %files
%doc src/cmd/ksh93/{COMPATIBILITY,RELEASE,TYPES} %doc src/cmd/ksh93/{COMPATIBILITY,RELEASE,TYPES}
%{_bindir}/{ksh93,shcomp93} %{_bindir}/{ksh93,shcomp93}
%{_mandir}/man1/*
%config(noreplace) %{_sysconfdir}/skel/.kshrc %config(noreplace) %{_sysconfdir}/skel/.kshrc
%config(noreplace) %{_sysconfdir}/kshrc %config(noreplace) %{_sysconfdir}/kshrc
%config(noreplace) %{_sysconfdir}/binfmt.d/kshcomp.conf %config(noreplace) %{_sysconfdir}/binfmt.d/kshcomp.conf
%files help
%doc README.md
%{_mandir}/man1/*
%changelog %changelog
* Fri Dec 25 2020 Liquor <lirui130@huawei.com> - 1:2020.0.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add package ksh-help to package ksh
* Tue Aug 4 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1:2020.0.0-4 * Tue Aug 4 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1:2020.0.0-4
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA