[Fedora-packaging] recursively adding files/folders in %files

Rex Dieter rdieter at math.unl.edu
Wed May 9 15:05:04 UTC 2012

On 05/09/2012 09:51 AM, Kamal Ahmed wrote:
> 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.

using just:
will include the dir and everything under it (notice the lack of %dir)

-- rex

More information about the packaging mailing list