!4 将openEuler环境下nss-altfiles默认查找路径修改为/usr/lib/
From: @wangyueliang Reviewed-by: @small_leek, @duyiwei7w Signed-off-by: @small_leek
This commit is contained in:
commit
2380c021c7
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: nss-altfiles
|
Name: nss-altfiles
|
||||||
Version: 2.23.0
|
Version: 2.23.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A NSS module which can read user information in an alternate location.
|
Summary: A NSS module which can read user information in an alternate location.
|
||||||
|
|
||||||
License: LGPLv2+
|
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 \
|
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).
|
/etc/passwd and /etc/group stored in an alternate location (/lib by default).
|
||||||
|
|
||||||
|
openEuler sets the default alternate location to '/usr/lib/'.
|
||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
./configure --prefix=%{_prefix} --libdir=%{_libdir} CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -40,5 +42,8 @@ This is a NSS module which can read user information from files in the same form
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 27 2021 xu_ping <xuping33@huawei.com> - 2.23.0-1
|
||||||
- upgrade 2.23.0
|
- upgrade 2.23.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user