diff --git a/bash.spec b/bash.spec index a1db207700d01e63098aed1c5286f392668f30bf..1f8ba027087debbcdc3d24076ac752e90a06d6a3 100644 --- a/bash.spec +++ b/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 -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 -5.1.8-12 - Type:bugfix - ID:NA