!4 Delete so file of the old version

From: @yang_zhuang_zhuang
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-04-23 17:44:06 +08:00 committed by Gitee
commit fbc866688b

View File

@ -2,7 +2,7 @@
Name: libnsl2
Version: 1.3.0
Release: 1
Release: 2
Summary: Public client interface library for NIS(YP) and NIS+
License: BSD and LGPLv2+
URL: https://github.com/thkukuk/libnsl
@ -47,7 +47,6 @@ make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/libnsl.a || :
rm -f %{buildroot}/%{_libdir}/libnsl.la || :
cp -a %{_libdir}/libnsl.so.2.0.0 %{buildroot}/%{_libdir}/
%post
/sbin/ldconfig
@ -57,7 +56,6 @@ cp -a %{_libdir}/libnsl.so.2.0.0 %{buildroot}/%{_libdir}/
%files
%{_exec_prefix}/%{_lib}/libnsl.so.2
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.0
%{_exec_prefix}/%{_lib}/libnsl.so.2.0.1
%license COPYING
@ -68,6 +66,9 @@ cp -a %{_libdir}/libnsl.so.2.0.0 %{buildroot}/%{_libdir}/
%{_prefix}/include/*
%changelog
* Fri Apr 23 2021 yang_zhuang_zhuang<yangzhuangzhuang1@huawei.com> - 1.3.0-2
- Delete so file of the old version
* Mon Jul 27 2020 yang_zhuang_zhuang<yangzhuangzhuang1@huawei.com> - 1.3.0-1
- update version to 1.3.0