%global commit 89f3f0b390f3bbc58d8964b11a517173ed4eed78 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: nss-altfiles Version: 2.23.0 Release: 1 Summary: A NSS module which can read user information in an alternate location. License: LGPLv2+ URL: https://github.com/aperezdc/nss-altfiles Source0: https://github.com/aperezdc/nss-altfiles/archive/v2.23.0.tar.gz BuildRequires: gcc glibc-devel %description 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). %package_help %prep %autosetup -n %{name}-%{version} %build %configure %make_build %install %make_install %ldconfig_scriptlets %files %defattr(-,root,root) %license COPYING %{_libdir}/*.so.* %files help %defattr(-,root,root) %doc README.md %changelog * Mon Dec 27 2021 xu_ping - 2.23.0-1 - upgrade 2.23.0