On Thu, 8 Feb 2018 18:39:19 +0100, Petr Stodulka wrote: > > The following: > > %files > > /some/directory/ > > > > is equivalent to: > > %files > > %dir /some/directory > > /some/directory/* > > > > > > There's nothing wrong here. > > > > > > Exactly. IMHO, use of %dir macro for "top" pkg directories is more clean solution, but > doesn't matter in case the rpm is packaged correctly. That makes no sense, if you restrict yourself to a "top" directory. It could be a huge tree with lots of subdirectories. How would you package it then? With explicit %dir everywhere? Or with %dir only for the "top" directory? Including complete directory trees with /foo/bar/ is fine and clean and is an advertised solution for many years. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx