!11 Delete BuildRequires of the libnsl2 old version

Merge pull request !11 from 付安安/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2021-12-24 11:14:58 +00:00 committed by Gitee
commit 61bd6a93b1

View File

@ -9,7 +9,7 @@
Name: libnsl2
Version: 2.0.0
Release: 2
Release: 3
Summary: Public client interface library for NIS(YP) and NIS+
License: BSD and LGPLv2+
URL: https://github.com/thkukuk/libnsl
@ -17,7 +17,7 @@ Source0: https://github.com/thkukuk/libnsl/archive/libnsl-%{version}.tar.gz
BuildRequires: automake, autoconf, libtirpc-devel, gettext-devel, libtool
%if 0%{?bump_soname}
BuildRequires: libnsl2 < %{version}
BuildRequires: libnsl2
%endif
%description
@ -69,6 +69,9 @@ cp -p %{_libdir}/libnsl.so.%{old_sover}* %{buildroot}/%{_libdir}
%{_prefix}/include/*
%changelog
* Fri Dec 24 2021 fuanan <fuanan3@huawei.com> - 2.0.0-3
- Delete BuildRequires of the libnsl2 old version
* Tue Dec 21 2021 fuanan <fuanan3@huawei.com> - 2.0.0-2
- add so file of the old version