Delete so file of the old version

This commit is contained in:
yang_zhuang_zhuang 2021-04-23 14:16:14 +08:00
parent c52f5d3102
commit 69b7190e98

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