2018-02-05 13:56:51 +00:00
|
|
|
Name: nss_nis
|
|
|
|
Version: 3.0
|
2018-02-08 08:30:06 +00:00
|
|
|
Release: 4%{?dist}
|
2018-02-05 13:56:51 +00:00
|
|
|
Summary: Name Service Switch (NSS) module using NIS
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Base
|
|
|
|
Url: https://github.com/thkukuk/libnss_nis
|
|
|
|
Source: https://github.com/thkukuk/libnss_nis/archive/v%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: libnsl2-devel
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
The nss_nis Name Service Switch module uses the Network Information System (NIS)
|
|
|
|
to obtain user, group, host name, and other data.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libnss_nis-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
|
|
|
%configure --libdir=%{_libdir} --includedir=%{_includedir}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm %{buildroot}/%{_libdir}/libnss_nis.{a,la}
|
|
|
|
rm %{buildroot}/%{_libdir}/libnss_nis.so
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_libdir}/libnss_nis.so.2
|
|
|
|
%{_libdir}/libnss_nis.so.2.0.0
|
|
|
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
%changelog
|
2018-02-08 08:30:06 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 13:56:51 +00:00
|
|
|
* Tue Jan 30 2018 Matej Mužila <mmuzila@redthat.com> - 3.0-3
|
|
|
|
- Inital release
|