git://git.onelab.eu
/
nodeupdate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change path from /usr/local to /usr
[nodeupdate.git]
/
NodeUpdate.spec
diff --git
a/NodeUpdate.spec
b/NodeUpdate.spec
index
31a8a24
..
399a6d7
100644
(file)
--- a/
NodeUpdate.spec
+++ b/
NodeUpdate.spec
@@
-12,7
+12,7
@@
Name: %{name}
Version: %{version}
Release: %{release}
Requires: python2 >= 2.2, yum >= 2.0.3-3_planetlab
Version: %{version}
Release: %{release}
Requires: python2 >= 2.2, yum >= 2.0.3-3_planetlab
-
Copyright
: GPL
+
License
: GPL
Group: System Environment/Base
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}root
Group: System Environment/Base
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}root
@@
-29,7
+29,7
@@
PlanetLab service to periodically update node RPMS
%install
%install
-install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/
local/planetlab/
bin/NodeUpdate.py
+install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/bin/NodeUpdate.py
install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate
%clean
install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate
%clean
@@
-37,17
+37,17
@@
install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdat
%files
%defattr(-,root,root)
%files
%defattr(-,root,root)
-%attr(0755,root,root) /usr/
local/planetlab/bin/NodeUpdate.py
+%attr(0755,root,root) /usr/
planetlab/bin/NodeUpdate.py*
%attr(0644,root,root) /etc/logrotate.d/NodeUpdate
%pre
%post
%attr(0644,root,root) /etc/logrotate.d/NodeUpdate
%pre
%post
-/usr/
local/
planetlab/bin/NodeUpdate.py updatecron
+/usr/planetlab/bin/NodeUpdate.py updatecron
%preun
if [ "$1" = 0 ]; then
%preun
if [ "$1" = 0 ]; then
- /usr/
local/
planetlab/bin/NodeUpdate.py removecron
+ /usr/planetlab/bin/NodeUpdate.py removecron
fi
fi