From 396e62aa5d4e04877fe31194dc2ebb5358c96985 Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Mon, 25 Apr 2022 10:51:54 +0800 Subject: [PATCH] Add Loongarch architecture support --- libnsl2.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libnsl2.spec b/libnsl2.spec index 7eab2f2..64591ed 100644 --- a/libnsl2.spec +++ b/libnsl2.spec @@ -1,5 +1,9 @@ # Uncomment on initial build for soname bump. +%ifarch loongarch64 +%global bump_soname 1 +%else %global bump_soname 0 +%endif %global sover 3 %if 0%{?bump_soname} @@ -9,7 +13,7 @@ Name: libnsl2 Version: 2.0.0 -Release: 4 +Release: 5 Summary: Public client interface library for NIS(YP) and NIS+ License: BSD and LGPLv2+ URL: https://github.com/thkukuk/libnsl @@ -69,6 +73,9 @@ cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}/%{_libdir} %{_prefix}/include/* %changelog +* Mon Apr 25 2022 liyanan - 2.0.0-5 +- Add old version so file in openEuler:22.03:LTS:LoongArch + * Fri Apr 15 2022 Hugel - 2.0.0-4 - delete old so files -- Gitee