[nfs-utils/f18] Removed some old cruft from the spec file (bz 226198)
Steve Dickson
steved at fedoraproject.org
Thu Nov 8 15:58:19 UTC 2012
commit 0b454e4984ca6c2667d64b5947dec98fd8de1bbf
Author: Steve Dickson <steved at redhat.com>
Date: Thu Nov 8 10:53:01 2012 -0500
Removed some old cruft from the spec file (bz 226198)
Signed-off-by: Steve Dickson <steved at redhat.com>
nfs-utils.spec | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/nfs-utils.spec b/nfs-utils.spec
index 4426d49..7b50766 100644
--- a/nfs-utils.spec
+++ b/nfs-utils.spec
@@ -62,7 +62,6 @@ Provides: sm-notify = %{epoch}:%{version}-%{release}
Provides: start-statd = %{epoch}:%{version}-%{release}
License: MIT and GPLv2 and GPLv2+ and BSD
-Buildroot: %{_tmppath}/%{name}-%{version}-root
Requires: rpcbind, sed, gawk, sh-utils, fileutils, textutils, grep
Requires: kmod, keyutils, quota
BuildRequires: libgssglue-devel libevent-devel libcap-devel
@@ -128,7 +127,6 @@ CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE -D_FILE_OFFSET_BITS=64`"
make %{?_smp_mflags} all
%install
-rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/sbin,/lib/systemd/system}
mkdir -p $RPM_BUILD_ROOT/usr/lib/%{name}/scripts
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
@@ -169,9 +167,6 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/statd/sm.bak
mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/v4recovery
mkdir -p $RPM_BUILD_ROOT/etc/exports.d
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%pre
# move files so the running service will have this applied as well
@@ -255,7 +250,6 @@ if /sbin/chkconfig --level 3 rpcsvcgssd ; then
fi
%files
-%defattr(-,root,root)
%config(noreplace) /etc/sysconfig/nfs
%config(noreplace) /etc/nfsmount.conf
%dir /etc/exports.d
@@ -303,6 +297,7 @@ fi
%changelog
* Thu Nov 8 2012 Steve Dickson <steved at redhat.com> 1.2.6-14
- Allow the service to start when RPCNFSDCOUNT is comment out. (bz 870143)
+- Removed some old cruft from the spec file (bz 226198)
* Mon Oct 15 2012 Steve Dickson <steved at redhat.com> 1.2.6-13
- Added a Requires for the quota package (bz 866225)
More information about the scm-commits
mailing list