set the default alternate location to '/usr/lib/'.

This commit is contained in:
wangyueliang 2022-03-16 18:10:48 +08:00
parent 054fa98bc5
commit 473fe0040b

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