[Fedora-packaging] %doc and %attr problems

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Mon Sep 22 15:18:12 UTC 2008

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

%attr(644,root,root,755) %doc README ...


Fedora http://fedoraproject.org/wiki/User:Rathann
Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"

More information about the Fedora-packaging mailing list