1
0
forked from rpms/rpcbind

Fixed typo in configure.ac file causing rpcuser not to be set.

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2013-08-21 15:02:29 -04:00
parent 675b7af71c
commit 62a1cb1307
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
commit b3b031b07cc5909aaf964f9d4cf46f6097769320
Author: Steve Dickson <steved@redhat.com>
Date: Wed Aug 21 14:40:22 2013 -0400
rpcbind: rpcuser not being set in Makefile.am
Commit 8d7a0708 cause a regression where the rpcuser id was not
being set, which in turn cause rpcbind to immediately exit.
This patch removes the extra ',' that was in the AC_ARG_WITH
statement in the configure.ac file.
Signed-off-by: Steve Dickson <steved@redhat.com>
diff --git a/configure.ac b/configure.ac
index 2b67720..1cf42d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ AC_ARG_WITH([statedir],
AC_SUBST([statedir], [$with_statedir])
AC_ARG_WITH([rpcuser],
- AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@]),
+ AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@])
,, [with_rpcuser=root])
AC_SUBST([rpcuser], [$with_rpcuser])

View File

@ -1,6 +1,6 @@
Name: rpcbind
Version: 0.2.1
Release: 0%{?dist}
Release: 0.1%{?dist}
Summary: Universal Addresses to RPC Program Number Mapper
Group: System Environment/Daemons
License: BSD
@ -24,6 +24,8 @@ Requires(postun): systemd-units coreutils
Provides: portmap = %{version}-%{release}
Obsoletes: portmap <= 4.0-65.3
Patch001: rpcbind-0.2.1-rpcuser.patch
%description
The rpcbind utility is a server that converts RPC program numbers into
universal addresses. It must be running on the host to be able to make
@ -32,6 +34,8 @@ RPC calls on a server on that machine.
%prep
%setup -q
%patch001 -p1
%build
%ifarch s390 s390x
PIE="-fPIE"
@ -130,6 +134,9 @@ fi
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
%changelog
* Wed Aug 21 2013 Steve Dickson <steved@redhat.com> - 0.2.1-0.1
- Fixed typo in configure.ac file causing rpcuser not to be set.
* Mon Aug 19 2013 Steve Dickson <steved@redhat.com> - 0.2.1-0
- Update to the latest upstream release: 0.2.1