Moved /sbin/ypbind to /usr/sbin/ypbind
This commit is contained in:
parent
08f5328450
commit
5ef5dbff4c
@ -34,7 +34,7 @@ OTHER_YPBIND_OPTS=""
|
||||
# Check that networking is configured.
|
||||
[ "${NETWORKING}" = "no" ] && exit 0
|
||||
|
||||
exec="/sbin/ypbind"
|
||||
exec="/usr/sbin/ypbind"
|
||||
prog="ypbind"
|
||||
lockfile=/var/lock/subsys/$prog
|
||||
|
||||
|
13
ypbind.spec
13
ypbind.spec
@ -1,7 +1,7 @@
|
||||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||
Name: ypbind
|
||||
Version: 1.31
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
||||
@ -9,7 +9,6 @@ Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
|
||||
Source1: ypbind.init
|
||||
Source2: nis.sh
|
||||
Patch1: ypbind-1.11-gettextdomain.patch
|
||||
|
||||
Requires(post): chkconfig
|
||||
Requires(preun): chkconfig
|
||||
# This is for /sbin/service
|
||||
@ -41,7 +40,7 @@ also need to install the ypserv package to a machine on your network.
|
||||
%patch1 -p1 -b .gettextdomain
|
||||
|
||||
%build
|
||||
%configure --sbindir=/sbin --enable-dbus-nm
|
||||
%configure --enable-dbus-nm
|
||||
make
|
||||
|
||||
%install
|
||||
@ -71,7 +70,7 @@ fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
/sbin/ypbind
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/*/*
|
||||
%{_initrddir}/*
|
||||
/etc/dhcp/dhclient.d/*
|
||||
@ -80,6 +79,12 @@ fi
|
||||
%doc README NEWS COPYING
|
||||
|
||||
%changelog
|
||||
* Fri May 21 2010 Karel Klic <kklic@redhat.com> - 3:1.31-5
|
||||
- Moved /sbin/ypbind to /usr/sbin/ypbind, as the package
|
||||
depends on several utilities from /usr (selinuxenabled,
|
||||
rpcinfo, ypwhich), and /usr/lib/libdbus-glib-1.so
|
||||
- Removed trailing whitespaces from ChangeLog
|
||||
|
||||
* Wed May 19 2010 Karel Klic <kklic@redhat.com> - 3:1.31-4
|
||||
- Update SELinux context of /etc/yp.conf in nis.sh (rhbz#593278)
|
||||
- nis.sh: use condrestart instead of pidfile checking
|
||||
|
Loading…
Reference in New Issue
Block a user