[Fedora-packaging] rpmlint check for proper %defattr?

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Sat Jul 28 19:58:58 UTC 2007

On Sat, 2007-07-28 at 21:25 +0200, Till Maas wrote:
> Why is it sometimes %defattr(-,root,root) and 
> sometimes %defattr(-,root,root,-) (which is what rpmdev-newspec generates)?

I believe the complete spec for %defattr is:

"%defattr" "(" fileperms ["," user-owner ["," group-owner [","
dirperms] ] ] ")"

with "-" in {file,dir}perms meaning no change from what it already has.

Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070728/48ce08c2/attachment.sig>

More information about the Fedora-packaging mailing list