%global commit 89f3f0b390f3bbc58d8964b11a517173ed4eed78 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: nss-altfiles Version: 2.18.1 Release: 8 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.18.1.tar.gz BuildRequires: 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 * Sat Nov 23 2019 openEuler Buildteam - 2.18.1-8 - Package init