Made changes per review

This commit is contained in:
Steve Dickson 2007-02-16 21:54:26 +00:00
parent c6715076e1
commit 0f1e0e3a3a

View File

@ -6,7 +6,7 @@ Release: 1%{?dist}
Summary: Universal Addresses to RPC Program Number Napper
Group: System Environment/Daemons
License: GPL
URL: http://nfsv4.bullopensource.org
URL: http://nfsv4.bullopensource.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
Source0: http://nfsv4.bullopensource.org/tarballs/rpcbind/rpcbind-0.1.4.tar.bz2
@ -16,7 +16,7 @@ BuildRequires: automake, autoconf, libtool
BuildRequires: libtirpc-devel
Requires(post): /sbin/chkconfig
Requires(post): /sbin/chkconfig
Requires: libtirpc
Requires: libtirpc quota
Patch1: rpcbind-0.1.4-compile.patch
Patch2: rpcbind-0.1.4-debug.patch
@ -46,8 +46,7 @@ CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
autoreconf -fisv
%configure CFLAGS="$CFLAGS" LDFLAGS="-pie" \
--enable-warmstarts \
--enable-debug \
--prefix=%{buildroot}
--enable-debug
make all
@ -62,7 +61,7 @@ make DESTDIR=%{buildroot} install
install -m 755 ${RPM_SOURCE_DIR}/rpcbind.init ${RPM_BUILD_ROOT}%{_initdir}/rpcbind
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%post
/sbin/chkconfig --add %{name}
@ -76,7 +75,6 @@ fi
if [ "$1" -ge "1" ]; then
service rpcbind condrestart > /dev/null 2>&1
fi
exit 0
%files
%defattr(-,root,root)