diff --git a/nss-altfiles.spec b/nss-altfiles.spec index 09881bc..9fd2933 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,10 +42,13 @@ This is a NSS module which can read user information from files in the same form %doc README.md %changelog -* Thu 28 Apr 2022 xigaoxinyan -2.23.0-1 +* Thu Jun 09 2022 wangyueliang - 2.23.0-2 +- set the default alternate location to '/usr/lib/'. + +* Thu Apr 28 2022 xigaoxinyan -2.23.0-1 - upgrade 2.23.0 -* Web 02 Jun 2021 zhaoyao - 2.18.1-9 +* Wed Jun 02 2021 zhaoyao - 2.18.1-9 - fixs faileds: /bin/sh: gcc: command not found. * Sat Nov 23 2019 openEuler Buildteam - 2.18.1-8