From 3ce85514fdd9509d33d3afa24698e4148ff767da542448f3c71d4c9dd4d92f70 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 4 Dec 2008 12:04:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpcbind?expand=0&rev=7 --- rpcbind.changes | 5 +++++ rpcbind.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/rpcbind.changes b/rpcbind.changes index db3a0a9..7f5c7af 100644 --- a/rpcbind.changes +++ b/rpcbind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 4 11:02:25 CET 2008 - coolo@suse.de + +- fix "checkproc: command not found" during installation + ------------------------------------------------------------------- Tue Dec 2 00:29:16 CET 2008 - ro@suse.de diff --git a/rpcbind.spec b/rpcbind.spec index 3efde38..a2ea76e 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -24,7 +24,7 @@ License: BSD 3-Clause Group: Productivity/Networking/System AutoReqProv: on Version: 0.1.6+git20080930 -Release: 5 +Release: 6 Summary: Transport independent RPC portmapper Url: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php Source: %{name}-%{version}.tar.bz2 @@ -35,7 +35,7 @@ Source4: pmap_set.c BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: portmap = 6.0+git20070716 Obsoletes: portmap <= 6.0+git20070716 -PreReq: %insserv_prereq %fillup_prereq +PreReq: %insserv_prereq %fillup_prereq /sbin/checkproc %define statefile /var/lib/portmap.state %description @@ -93,12 +93,12 @@ rm -rf $RPM_BUILD_ROOT %pre # upgrade case from portmap # 1. if portmap is running, dump portmap tables -if checkproc /sbin/portmap; then +if /sbin/checkproc /sbin/portmap; then rm -f %statefile test -x /sbin/pmap_dump && /sbin/pmap_dump > %statefile fi # 2. disable portmap service to be able to enable rpcbind -if test -x /sbin/portmap && chkconfig -c portmap 3; then +if test -x /sbin/portmap && /sbin/chkconfig -c portmap 3; then /sbin/insserv -f -r portmap fi @@ -134,6 +134,8 @@ fi %{_datadir}/omc/svcinfo.d/rpcbind.xml %changelog +* Thu Dec 04 2008 coolo@suse.de +- fix "checkproc: command not found" during installation * Tue Dec 02 2008 ro@suse.de - rename installed pmap_set to pmap_set2 to avoid conflict with portmap