diff --git a/1000-rpm-anolis-support-loongarch.patch b/1000-rpm-anolis-support-loongarch.patch index ab2a3a9dbf5939477ab7f90668aee5c82db040c5..350516e61836cd002fd78fd9c3dbc7a7055effe7 100644 --- a/1000-rpm-anolis-support-loongarch.patch +++ b/1000-rpm-anolis-support-loongarch.patch @@ -42,7 +42,7 @@ index cada3f7..c4b13cc 100644 +# if defined(__linux__) && defined(__loongarch64) + strcpy(un.machine, "loongarch64"); -+# else ++# elif defined(__linux__) && defined(__loongarch32) + strcpy(un.machine, "loongarch32"); +# endif /* __loongarch64 */ + diff --git a/rpm.spec b/rpm.spec index 1ee9094e608c13c130dc9674859fa74cefeb52c5..8fa37e54559b553e4ae709b3ad9c3a2e2bebf1ba 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %define _legacy_common_support 1 # build against xz? %bcond_without xz @@ -694,6 +694,9 @@ make check || cat tests/rpmtests.log %doc doc/librpm/html/* %changelog +* Wed Feb 9 2022 Liwei Ge - 4.14.3-19.0.2.2 +- Fix loongarch platform support + * Tue Feb 8 2022 Renbo - 4.14.3-19.0.1.2 - Support loongarch for rpm (zhangwenlong@loongson.cn) - Fix gcc10 -fno-common compile issue for compatible with gcc10 build (liwei.glw@linux.alibaba.com)