On Sat, 09 Sep 2017 20:09:28 +0200, Laurent Tréguier wrote:
On a side note, what's wrong with using "defattr" in %files ? I've never seen anything wrong with it up until now...
There are global defaults for file permissions, and if you don't change those defaults, you don't need to use %defattr:
https://fedoraproject.org/wiki/Packaging:Guidelines#File_Permissions
There are also spec files, which set wrong file permissions because of a wrong %defattr instead of fixing %install.