git://git.onelab.eu
/
nodeupdate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ded1abf
)
updated build root and clean target
author
Aaron Klingaman
<alk@cs.princeton.edu>
Wed, 14 Apr 2004 13:59:24 +0000
(13:59 +0000)
committer
Aaron Klingaman
<alk@cs.princeton.edu>
Wed, 14 Apr 2004 13:59:24 +0000
(13:59 +0000)
NodeUpdate.spec
patch
|
blob
|
history
diff --git
a/NodeUpdate.spec
b/NodeUpdate.spec
index
09bde10
..
2369178
100644
(file)
--- a/
NodeUpdate.spec
+++ b/
NodeUpdate.spec
@@
-11,7
+11,7
@@
Copyright: GPL
URL: http://www.planet-lab.org
Group: System Environment/Base
Source: %{name}-%{version}.tar.gz
-BuildRoot:
/tmp/%{name}-%{version}-
root
+BuildRoot:
%{_tmppath}/%{name}-%{version}
root
%description
PlanetLab service to periodically update node RPMS
@@
-28,6
+28,7
@@
mkdir -p $RPM_BUILD_ROOT/usr/local/planetlab/bin
cp NodeUpdate.py $RPM_BUILD_ROOT/usr/local/planetlab/bin/
%clean
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)