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