diff --git a/glibc.spec b/glibc.spec index 048db7ce208371619f46484f37b25d96c1a2b4ec..cc2c2bddbdaa7646fc2ba977649f76ebefd42c31 100644 --- a/glibc.spec +++ b/glibc.spec @@ -46,9 +46,9 @@ %endif %define enablekernel 3.2 -%define target %{_target_cpu}-openEuler-linux +%define target %{_target_cpu}-%{_vendor}-linux %ifarch %{arm} -%define target %{_target_cpu}-openEuler-linuxeabi +%define target %{_target_cpu}-%{_vendor}-linuxeabi %endif %define x86_arches %{ix86} x86_64 %define all_license LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL @@ -59,7 +59,7 @@ ############################################################################## Name: glibc Version: 2.28 -Release: 47 +Release: 48 Summary: The GNU libc libraries License: %{all_license} URL: http://www.gnu.org/software/glibc/ @@ -414,7 +414,7 @@ reference=" \ "-mtune=z13" \ "-mtune=z14" \ "-mtune=zEC12" \ - "-specs=/usr/lib/rpm/openEuler/openEuler-annobin-cc1" " + "-specs=/usr/lib/rpm/%{_vendor}/%{_vendor}-annobin-cc1" " for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS ; do if echo "$reference" | grep -q -F " $flag " ; then @@ -1092,6 +1092,9 @@ fi %doc hesiod/README.hesiod %changelog +* Fri Jan 8 2021 Wang Shuo - 2.28-48 +- Replace "openEuler" by %{_vendor} for versatility + * Tue Nov 10 2020 liusirui - 2.28-47 - Fix CVE-2020-27618, iconv accept redundant shift sequences in IBM1364 [BZ #26224] https://sourceware.org/bugzilla/show_bug.cgi?id=26224