1
0
forked from rpms/rpcbind

Spec reviewed (bz 228894)

This commit is contained in:
Steve Dickson 2007-02-21 20:03:02 +00:00
parent 0f1e0e3a3a
commit 434ac98bab

View File

@ -13,10 +13,9 @@ Source0: http://nfsv4.bullopensource.org/tarballs/rpcbind/rpcbind-0.1.4.t
Source1: rpcbind.init Source1: rpcbind.init
BuildRequires: automake, autoconf, libtool BuildRequires: automake, autoconf, libtool
BuildRequires: libtirpc-devel BuildRequires: libtirpc-devel quota
Requires(post): /sbin/chkconfig Requires(post): /sbin/chkconfig
Requires(post): /sbin/chkconfig Requires(post): /sbin/chkconfig
Requires: libtirpc quota
Patch1: rpcbind-0.1.4-compile.patch Patch1: rpcbind-0.1.4-compile.patch
Patch2: rpcbind-0.1.4-debug.patch Patch2: rpcbind-0.1.4-debug.patch
@ -45,8 +44,8 @@ CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
autoreconf -fisv autoreconf -fisv
%configure CFLAGS="$CFLAGS" LDFLAGS="-pie" \ %configure CFLAGS="$CFLAGS" LDFLAGS="-pie" \
--enable-warmstarts \ --enable-warmstarts \
--enable-debug --enable-debug
make all make all
@ -68,12 +67,12 @@ rm -rf %{buildroot}
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
service rpcbind stop > /dev/null 2>&1 service rpcbind stop > /dev/null 2>&1
/sbin/chkconfig --del %{name} /sbin/chkconfig --del %{name}
fi fi
%postun %postun
if [ "$1" -ge "1" ]; then if [ "$1" -ge "1" ]; then
service rpcbind condrestart > /dev/null 2>&1 service rpcbind condrestart > /dev/null 2>&1
fi fi
%files %files
@ -85,6 +84,6 @@ fi
%config %{_initdir}/rpcbind %config %{_initdir}/rpcbind
%changelog %changelog
* Wed Aug 9 2006 Steve Dickson <steved@redhat.com> 0.1.4-1 * Wed Feb 21 2007 Steve Dickson <steved@redhat.com> 0.1.4-1
- Initial commit - Initial commit
- Spec reviewed (bz 228894)