Updating link to change in openSUSE:Factory/nfs-utils revision 82.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=7f98fadb5f84c0dbc51d2749cb7dfd4a
This commit is contained in:
OBS User buildservice-autocommit 2011-06-20 08:53:27 +00:00 committed by Git OBS Bridge
parent a60740ab4e
commit 5660cc2acd

View File

@ -27,7 +27,7 @@ BuildRequires: libevent
Url: http://nfs.sourceforge.net
Summary: Support Utilities for Kernel nfsd
Version: 1.2.3
Release: 21
Release: 23
Group: Productivity/Networking/NFS
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -58,7 +58,6 @@ Patch4: nfs-utils-improve-v4-umount
Patch5: nfs-utils-fix-remount
Suggests: python-base
%description
This package contains the NFS utilities. You can tune the number of
server threads via the sysconfig variable USE_KERNEL_NFSD_NUMBER. For
@ -81,7 +80,6 @@ PreReq: %fillup_prereq %insserv_prereq
PreReq: permissions sysvinit(portmap) sysvinit(network)
Provides: aaa_base:/etc/init.d/nfs
%description -n nfs-client
This package contains common NFS utilities which are needed for client
and kernel based server.
@ -103,7 +101,6 @@ Conflicts: nfs-server
Requires: nfs-client = %{version} rpcbind
PreReq: %fillup_prereq %insserv_prereq
%description -n nfs-kernel-server
This package contains support for the kernel based NFS server. You can
tune the number of server threads via the sysconfig variable
@ -124,7 +121,6 @@ Summary: Support Utilities for NFS
Obsoletes: nfs-utils < 1.1.0
Requires: latex2html-pngicons
%description -n nfs-doc
This package contains additional NFS documentation.
@ -145,7 +141,6 @@ Authors:
%patch5 -p1
cp %{S:6} .
%build
%{?suse_update_config:%{suse_update_config -f }}
rm -f configure; autoreconf -fi
@ -168,7 +163,6 @@ sed -i \
$i
done
%install
make install-strip DESTDIR=$RPM_BUILD_ROOT
rm -f linux-nfs/Makefile*
@ -203,16 +197,13 @@ install -m 644 utils/mount/nfsmount.conf $RPM_BUILD_ROOT/etc/nfsmount.conf
# hack to avoid automatic python dependency
chmod 644 $RPM_BUILD_ROOT%{_sbindir}/{mountstats,nfsiostat}
%clean
rm -rf $RPM_BUILD_ROOT
%pre -n nfs-client
useradd -r -c 'NFS statd daemon' \
-s /sbin/nologin -d /var/lib/nfs -g nogroup statd &> /dev/null || :
%post -n nfs-client
chown statd:nogroup /var/lib/nfs
chown -R statd /var/lib/nfs/{state,sm,sm.bak} >& /dev/null || :
@ -230,11 +221,9 @@ fi
#
%set_permissions /sbin/mount.nfs
%preun -n nfs-client
%stop_on_removal nfs
%postun -n nfs-client
%restart_on_update nfs
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
@ -243,11 +232,9 @@ fi
%verifyscript -n nfs-client
%verify_permissions -e /sbin/mount.nfs
%preun -n nfs-kernel-server
%stop_on_removal nfsserver
%post -n nfs-kernel-server
### migrate from /var/lock/subsys
[ -d /var/run/nfs ] || mkdir /var/run/nfs
@ -260,12 +247,10 @@ fi
###
%{fillup_and_insserv nfsserver}
%postun -n nfs-kernel-server
%restart_on_update nfsserver
%insserv_cleanup
%files -n nfs-client
%defattr(-,root,root)
%config /etc/init.d/nfs
@ -319,7 +304,6 @@ fi
%attr(0700,statd,nogroup) %ghost /var/lib/nfs/state
%config %attr(0644,root,root) /etc/sysconfig/SuSEfirewall2.d/services/nfs-client
%files -n nfs-kernel-server
%defattr(-,root,root)
%config /etc/init.d/nfsserver
@ -342,11 +326,8 @@ fi
%config(noreplace) /var/lib/nfs/rmtab
%config %attr(0644,root,root) /etc/sysconfig/SuSEfirewall2.d/services/nfs-kernel-server
%files -n nfs-doc
%defattr(-,root,root)
%doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4
%changelog