[Mageia-dev] Rpmlint configuration, false positives

D.Morgan dmorganec at gmail.com
Sat Aug 27 23:02:19 CEST 2011

On Sat, Aug 27, 2011 at 10:41 PM, Florian Hubold <doktor5000 at arcor.de> wrote:
> Am 27.08.2011 22:19, schrieb Michael Scherer:
>> Le samedi 27 août 2011 à 22:06 +0200, Florian Hubold a écrit :
>>> What about the following, AFAIK those are deprecated and rpmlint
>>> shouldn't
>>> complain about:
>>> *files-attr-not-set*        as i was told by dmorgan, empty default
>>> attributes
>>> (%defattr(-,root,root))
>>> are useless and not needed, but without it rpmlint complains with this
>>> warning
>>> for every file.
>>> What's the status quoe here? rpmlint issue or maybe an rpm bug?
>>> Empty %defattr still needed or not and if not, could you make that
>>> warning an
>>> exception?
>> TO be really clean, this should be changed directly in rpmlint upstream
>> to remove the check. But as I do not know the various supported version
>> for this removal, I will add a filter.
> So someone with more insights wrt RPM should comment on this. dmorgan?

this is not needed since 2004.

commit 47ea5da7dd42de36b235b688205fb35f53e3cad6
Author: jbj <devnull at localhost>
Date:   Wed Oct 13 21:03:29 2004 +0000
- silently add default %defattr(-,root,root) for all packages.

More information about the Mageia-dev mailing list