I'm working on a packaging system that packages things in RPMs. I have a case where it would be very convenient to specify that I want a directory and every file and subdirectory under it included in the RPM. This of course, would be in the %files
section.
Is there a way to do this? I notice that there is a way to specify that your list of files to include comes from a file. Would I have to run find
in the %install
section to generate that list into a file then use that file in the %files
section later?
X/*
patterns to mean, everything inside X – Territus