Added the -typo patch which fixes a spelling error in a message.

This commit is contained in:
Karel Klic 2010-11-29 12:32:58 +01:00
parent 67c56513a5
commit eacddc519e
2 changed files with 21 additions and 1 deletions

12
ypbind-mt-1.32-typo.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up ypbind-mt-1.32/src/serv_list.c.typo ypbind-mt-1.32/src/serv_list.c
--- ypbind-mt-1.32/src/serv_list.c.typo 2010-11-29 11:28:51.701891385 +0100
+++ ypbind-mt-1.32/src/serv_list.c 2010-11-29 11:30:29.682891306 +0100
@@ -830,7 +830,7 @@ ping_all (struct binding *list)
if (s_in.sin_port == 0)
{
if (verbose_flag && list->active == i)
- log_msg (LOG_NOTICE, "NIS server '%s' not repsonding "
+ log_msg (LOG_NOTICE, "NIS server '%s' not responding "
"for domain '%s'", list->server[i].host, list->domain);
if (debug_flag)

View File

@ -1,14 +1,18 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain
Name: ypbind
Version: 1.32
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
Source1: ypbind.init
Source2: nis.sh
# Fedora-specific patch. Renaming 'ypbind' package to proper
# 'ypbind-mt' would allow us to drop it.
Patch1: ypbind-1.11-gettextdomain.patch
# Not sent to upstream.
Patch2: ypbind-mt-1.32-typo.patch
Requires(post): chkconfig
Requires(preun): chkconfig
# This is for /sbin/service
@ -38,6 +42,7 @@ also need to install the ypserv package to a machine on your network.
%prep
%setup -q -n ypbind-mt-%{version}
%patch1 -p1 -b .gettextdomain
%patch2 -p1 -b .typo
%build
%configure --enable-dbus-nm
@ -79,6 +84,9 @@ fi
%doc README NEWS COPYING
%changelog
* Mon Nov 29 2010 Karel Klic <kklic@redhat.com> - 3:1.32-4
- Added the -typo patch which fixes a spelling error in a message.
* Fri Nov 19 2010 Karel Klic <kklic@redhat.com> - 3:1.32-3
- ypbind.init: More effective syntax for #601296.