add so file of the old version

This commit is contained in:
fuanan 2021-12-21 16:01:04 +08:00
parent eb50b6158f
commit cb6e49012f

View File

@ -1,5 +1,5 @@
# Uncomment on initial build for soname bump. # Uncomment on initial build for soname bump.
#global bump_soname 1 %global bump_soname 1
%global sover 3 %global sover 3
%if 0%{?bump_soname} %if 0%{?bump_soname}
@ -9,7 +9,7 @@
Name: libnsl2 Name: libnsl2
Version: 2.0.0 Version: 2.0.0
Release: 1 Release: 2
Summary: Public client interface library for NIS(YP) and NIS+ Summary: Public client interface library for NIS(YP) and NIS+
License: BSD and LGPLv2+ License: BSD and LGPLv2+
URL: https://github.com/thkukuk/libnsl URL: https://github.com/thkukuk/libnsl
@ -69,6 +69,9 @@ cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}/%{_libdir}
%{_prefix}/include/* %{_prefix}/include/*
%changelog %changelog
* Tue Dec 21 2021 fuanan <fuanan3@huawei.com> - 2.0.0-2
- add so file of the old version
* Sat Nov 27 2021 fuanan <fuanan3@huawei.com> - 2.0.0-1 * Sat Nov 27 2021 fuanan <fuanan3@huawei.com> - 2.0.0-1
- update version to 2.0.0 - update version to 2.0.0