fix the issue of compilation failure when the openEuler macro is not defined
This commit is contained in:
parent
b04a1a730a
commit
f864a221d1
12
bash.spec
12
bash.spec
@ -2,13 +2,13 @@
|
|||||||
%global ENABLE_RELOC 0
|
%global ENABLE_RELOC 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{ENABLE_RELOC}
|
%if %{?ENABLE_RELOC}
|
||||||
%global ldflags_options -Wl,--emit-relocs
|
%global ldflags_options -Wl,--emit-relocs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: bash
|
Name: bash
|
||||||
Version: 5.1.8
|
Version: 5.1.8
|
||||||
Release: 12
|
Release: 13
|
||||||
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
|
||||||
@ -148,7 +148,7 @@ make check
|
|||||||
%{_bindir}/{hash,getopts,jobs,read,type,ulimit,umask,unalias}
|
%{_bindir}/{hash,getopts,jobs,read,type,ulimit,umask,unalias}
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/alias.sh
|
%config(noreplace) %{_sysconfdir}/profile.d/alias.sh
|
||||||
|
|
||||||
%if %{ENABLE_RELOC}
|
%if %{?ENABLE_RELOC}
|
||||||
%files relocation
|
%files relocation
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/lib/relocation/%{_bindir}/bash.relocation
|
/usr/lib/relocation/%{_bindir}/bash.relocation
|
||||||
@ -171,6 +171,12 @@ make check
|
|||||||
%exclude %{_infodir}/dir
|
%exclude %{_infodir}/dir
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Dec 15 2023 wangyuhang <wangyuhang27@huawei.com> -5.1.8-12
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user