recursively adding files/folders in %files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux