From c3fa7e9837ce2b8ba807e803f08ca7f18254556b Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Fri, 10 Oct 2008 15:46:44 +0000 Subject: [PATCH] just whole-sale copy the monitor module into python site-arch. find a better way later. --- monitor-server.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/monitor-server.spec b/monitor-server.spec index de00fa1..0576459 100644 --- a/monitor-server.spec +++ b/monitor-server.spec @@ -74,9 +74,10 @@ echo " * TODO: Setting up Monitor account in local MyPLC" mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}/monitor install -d -D -m 755 monitor $RPM_BUILD_ROOT/%{python_sitearch}/monitor # TODO: need a much better way to do this. -for file in __init__.py database.py config.py ; do - install -D -m 644 monitor/$file $RPM_BUILD_ROOT/%{python_sitearch}/monitor/$file -done +rsync -a monitor/ $RPM_BUILD_ROOT/%{python_sitearch}/monitor/ +#for file in __init__.py database.py config.py ; do +# install -D -m 644 monitor/$file $RPM_BUILD_ROOT/%{python_sitearch}/monitor/$file +#done install -D -m 755 threadpool.py $RPM_BUILD_ROOT/%{python_sitearch}/threadpool.py touch $RPM_BUILD_ROOT/var/www/cgi-bin/monitor/monitorconfig.php -- 2.47.0