!124 fix the issue of compilation failure when the openEuler macro is not defined
From: @wangyuhang27 Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
319dadfdbf
12
bash.spec
12
bash.spec
@ -2,13 +2,13 @@
|
||||
%global ENABLE_RELOC 0
|
||||
%endif
|
||||
|
||||
%if %{ENABLE_RELOC}
|
||||
%if %{?ENABLE_RELOC}
|
||||
%global ldflags_options -Wl,--emit-relocs
|
||||
%endif
|
||||
|
||||
Name: bash
|
||||
Version: 5.1.8
|
||||
Release: 12
|
||||
Release: 13
|
||||
Summary: It is the Bourne Again Shell
|
||||
License: GPLv3
|
||||
URL: https://www.gnu.org/software/bash
|
||||
@ -148,7 +148,7 @@ make check
|
||||
%{_bindir}/{hash,getopts,jobs,read,type,ulimit,umask,unalias}
|
||||
%config(noreplace) %{_sysconfdir}/profile.d/alias.sh
|
||||
|
||||
%if %{ENABLE_RELOC}
|
||||
%if %{?ENABLE_RELOC}
|
||||
%files relocation
|
||||
%defattr(-,root,root)
|
||||
/usr/lib/relocation/%{_bindir}/bash.relocation
|
||||
@ -171,6 +171,12 @@ make check
|
||||
%exclude %{_infodir}/dir
|
||||
|
||||
%changelog
|
||||
* Wed Feb 28 2024 wangyuhang <wangyuhang27@huawei.com> -5.1.8-13
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: fix the issue of compilation failure when the openEuler macro is not defined
|
||||
|
||||
* Fri Dec 15 2023 wangyuhang <wangyuhang27@huawei.com> -5.1.8-12
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user