This commit is contained in:
parent
f96b42fb3f
commit
3ce85514fd
@ -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
|
||||
|
||||
|
10
rpcbind.spec
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user