update code

This commit is contained in:
zhuchunyi 2019-11-06 19:03:13 +08:00
parent d6ab1b3fd7
commit 2fa1066c76

View File

@ -1,6 +1,6 @@
Name: bash Name: bash
Version: 5.0 Version: 5.0
Release: 3 Release: 6
Summary: It is the Bourne Again Shell Summary: It is the Bourne Again Shell
License: GPLv3 License: GPLv3
URL: https://www.gnu.org/software/bash URL: https://www.gnu.org/software/bash
@ -10,7 +10,7 @@ Source1: dot-bashrc
Source2: dot-bash_profile Source2: dot-bash_profile
Source3: dot-bash_logout Source3: dot-bash_logout
# Official upstream patches # PATCH-FIX-UPSTREAM
Patch1: bash-5.0-patch1.patch Patch1: bash-5.0-patch1.patch
Patch2: bash-5.0-patch2.patch Patch2: bash-5.0-patch2.patch
Patch3: bash-5.0-patch3.patch Patch3: bash-5.0-patch3.patch
@ -23,7 +23,6 @@ Patch9: bash-5.0-patch9.patch
Patch10: bash-5.0-patch10.patch Patch10: bash-5.0-patch10.patch
Patch11: bash-5.0-patch11.patch Patch11: bash-5.0-patch11.patch
# Others
Patch12: bash-2.02-security.patch Patch12: bash-2.02-security.patch
Patch13: bash-2.03-paths.patch Patch13: bash-2.03-paths.patch
Patch14: bash-2.03-profile.patch Patch14: bash-2.03-profile.patch
@ -57,10 +56,9 @@ Patch35: bash-4.4-no-loadable-builtins.patch
Patch9000:0001-bugfix-Forbidden-non-root-user-to-clear-history.patch Patch9000:0001-bugfix-Forbidden-non-root-user-to-clear-history.patch
BuildRequires: gcc bison texinfo
BuildRequires: gcc Requires: filesystem
Requires: filesystem >= 3
Provides: /bin/sh /bin/bash Provides: /bin/sh /bin/bash
@ -117,9 +115,6 @@ make check
%config(noreplace) /etc/skel/.%{name}* %config(noreplace) /etc/skel/.%{name}*
%{_bindir}/{sh,bash,alias,bg,cd,command,fc,fg,wait,bashbug} %{_bindir}/{sh,bash,alias,bg,cd,command,fc,fg,wait,bashbug}
%{_bindir}/{hash,getopts,jobs,read,type,ulimit,umask,unalias} %{_bindir}/{hash,getopts,jobs,read,type,ulimit,umask,unalias}
%{_infodir}/%{name}.info*
%{_mandir}/man1/*.gz
%exclude %{_infodir}/dir
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -131,8 +126,29 @@ make check
%doc NOTES %doc NOTES
%doc doc/*.ps doc/*.0 doc/*.html doc/*.txt %doc doc/*.ps doc/*.0 doc/*.html doc/*.txt
%doc %{_docdir}/%{name}/* %doc %{_docdir}/%{name}/*
%{_infodir}/%{name}.info*
%{_mandir}/man1/*.gz
%exclude %{_infodir}/dir
%changelog %changelog
* Thu Oct 24 2019 shenyangyang<shenyangyang4@huawei.com> 5.0-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add build requires of bison and texinfo
* Fri Oct 11 2019 shenyangyang<shenyangyang4@huawei.com> - 5.0-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move the man files
* Mon Sep 30 2019 shenyangyang<shenyangyang4@huawei.com> - 5.0-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:modify requires
* Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 5.0-3 * Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 5.0-3
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA