nss-altfiles/nss-altfiles.spec
2021-06-04 16:39:07 +08:00

48 lines
1.0 KiB
RPMSpec

%global commit 89f3f0b390f3bbc58d8964b11a517173ed4eed78
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: nss-altfiles
Version: 2.18.1
Release: 9
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: 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
* Web 02 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 2.18.1-9
- fixs faileds: /bin/sh: gcc: command not found.
* Sat Nov 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.18.1-8
- Package init