diff --git a/nss-altfiles.spec b/nss-altfiles.spec index 137e183..6a1be7e 100644 --- a/nss-altfiles.spec +++ b/nss-altfiles.spec @@ -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 - 2.23.0-2 +- set the default alternate location to '/usr/lib/'. + * Mon Dec 27 2021 xu_ping - 2.23.0-1 - upgrade 2.23.0