On Monday, 22 September 2008 at 16:58, François Kooman wrote:
Hi,
I'm trying to package globalplatform and gpshell but have some problems now with packaging some of the example scripts included. They are chmodded 755 instead of the wanted 644 so I tried to use this in the spec file:
%attr(0644,root,root)%doc README COPYING.LESSER *.txt
But this will result in the /usr/share/doc/gpshell-1.4.2/ also being chmodded 644 which will make rpmlint (correctly) complain:
gpshell.x86_64: E: non-standard-dir-perm /usr/share/doc/gpshell-1.4.2 0644
Try: %attr(644,root,root,755) %doc README ...
Regards, R.