From 0f1e0e3a3a4d973d4cc49d2da5155d98906e6259 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Fri, 16 Feb 2007 21:54:26 +0000 Subject: [PATCH] Made changes per review --- rpcbind.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/rpcbind.spec b/rpcbind.spec index 6e1e7d7..6167313 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -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)