Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=537587
--- Comment #36 from Nathanael Noblet nathanael@gnat.ca 2009-12-03 15:41:44 EDT --- When you say the following: ============ START QUOTE ========================================== * %files entry unification - By the way %files entry --------------------------------------------------------------- %files %dir foo/ foo/* --------------------------------------------------------------- (where foo/ is a directory) can be unified as --------------------------------------------------------------- %files foo/ --------------------------------------------------------------- This style contains the directory foo/ itself and all files/directories/etc under foo/. ============ END QUOTE ===========================================
I started looking at some of the files entries and am not sure about some of them for example.
Should %{_bindir}/* be %{_bindir}/? Wouldn't that mean I would own the bindir? So I assume you want that applied only to directories I would own.
Which brings me to my next question about that. <snip> %dir %{_datadir}/%{name}/sql-scripts/mysql %doc %attr(0644,root,root) %{_datadir}/%{name}/sql-scripts/mysql/* </snip>
Can I combine that into one line? I assume I can't because I want the attr to apply to the files and not the directory..