!4 将openEuler环境下nss-altfiles默认查找路径修改为/usr/lib/

From: @wangyueliang 
Reviewed-by: @small_leek, @duyiwei7w 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-03-22 08:42:43 +00:00 committed by Gitee
commit 2380c021c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: nss-altfiles
Version: 2.23.0
Release: 1
Release: 2
Summary: A NSS module which can read user information in an alternate location.
License: LGPLv2+
@ -16,13 +16,15 @@ BuildRequires: gcc glibc-devel
This is a NSS module which can read user information from files in the same format as \
/etc/passwd and /etc/group stored in an alternate location (/lib by default).
openEuler sets the default alternate location to '/usr/lib/'.
%package_help
%prep
%autosetup -n %{name}-%{version}
%build
%configure
./configure --prefix=%{_prefix} --libdir=%{_libdir} CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
%make_build
%install
@ -40,5 +42,8 @@ This is a NSS module which can read user information from files in the same form
%doc README.md
%changelog
* Wed Mar 16 2022 wangyueliang<wangyueliang@kylinos.cn> - 2.23.0-2
- set the default alternate location to '/usr/lib/'.
* Mon Dec 27 2021 xu_ping <xuping33@huawei.com> - 2.23.0-1
- upgrade 2.23.0