From: Barış Metin Date: Mon, 14 Dec 2009 15:29:16 +0000 (+0000) Subject: just use rsync, this works fine X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0f836df93436c92f528d2522870719672bb93577;hp=a1f4af8d4d9a846a4b6b7766ce2ff54296258a85;p=monitor.git just use rsync, this works fine --- diff --git a/Monitor.spec b/Monitor.spec index 84f0335..a2a5439 100644 --- a/Monitor.spec +++ b/Monitor.spec @@ -165,15 +165,15 @@ install -D -m 644 web/monitorweb-httpd.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/ # we'll install monitor and pcucontrol in site-packages # install rest to /usr/share/monitor rsync -a --exclude archive-pdb --exclude .svn --exclude CVS \ - --exclude monitor \ - --exclude pcucontol \ + --exclude monitor/ \ + --exclude pcucontol/ \ ./ $RPM_BUILD_ROOT/usr/share/%{name}/ # install monitor python package -install -d -D -m 755 monitor $RPM_BUILD_ROOT/%{python_sitearch}/monitor +rsync -a --exclude .svn ./monitor/ $RPM_BUILD_ROOT/%{python_sitearch}/monitor/ # and pcucontrol -install -d -D -m 755 pcucontrol $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol +rsync -a --exclude .svn ./pcucontrol/ $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol/ # install third-party module to site-packages install -D -m 755 threadpool.py $RPM_BUILD_ROOT/%{python_sitearch}/threadpool.py