Is there a way to add all files recursively in the %files macro ?
I tried :

%dir %{python_sitelib}/%{name}
but that just adds the target directory in the rpm.

in my %install macro, i have:

mkdir -p -m 755 %{buildroot}/%{python_sitelib}/%{name}
python -m compileall pcore/
cp -r pcore/*.pyc %{buildroot}/%{python_sitelib}/%{name}


Thanks,
-Kamal.