New upstream version

This commit is contained in:
Karel Klic 2010-10-19 15:32:14 +02:00
parent fc65a37d5b
commit 348a0981ea
3 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
ypserv-2.23.tar.bz2
/ypserv-2.24.tar.bz2

View File

@ -1 +1 @@
40a871818380cbf6452e97b5fbb21879 ypserv-2.23.tar.bz2
1afce1167cd01be942e71220291e6cf3 ypserv-2.24.tar.bz2

View File

@ -3,8 +3,8 @@
Summary: The NIS (Network Information Service) server
Url: http://www.linux-nis.org/nis/ypserv/index.html
Name: ypserv
Version: 2.23
Release: 4%{?dist}
Version: 2.24
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2
@ -68,7 +68,7 @@ make
%install
rm -rf $RPM_BUILD_ROOT
#make install ROOT=$RPM_BUILD_ROOT
#make install ROOT=$RPM_BUILD_ROOT
%makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir}/yp INSTALL_PROGRAM=install
mkdir -p $RPM_BUILD_ROOT%{initdir}
install -m644 etc/ypserv.conf $RPM_BUILD_ROOT%{_sysconfdir}
@ -89,7 +89,7 @@ cat >$RPM_BUILD_ROOT/etc/sysconfig/yppasswdd <<EOF
#PASSWDFILE=/etc/passwd
# This option tells rpc.yppasswdd to use a different source file
# instead of /etc/passwd.
# instead of /etc/passwd.
# You can't mix usage of this with ETCDIR
#SHADOWFILE=/etc/shadow
@ -122,7 +122,7 @@ if [ "$1" -ge "1" ]; then
/sbin/service ypxfrd condrestart > /dev/null 2>&1
fi
exit 0
%files
%defattr(-,root,root)
%doc AUTHORS README INSTALL ChangeLog TODO NEWS COPYING
@ -138,6 +138,9 @@ exit 0
%{_includedir}/*/*
%changelog
* Tue Oct 19 2010 Karel Klic <kklic@redhat.com> - 2.24-1
- New upstream version.
* Thu Mar 11 2010 Karel Klic <kklic@redhat.com> - 2.23-4
- Rebuilt for gdbm upgrade