diff --git a/libnsl2.spec b/libnsl2.spec index 7eab2f2f09182319482c2a64b1c52f8c1e510225..64591ed1647d5d897d66e696bde229fdf3150f6d 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