[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Core packages are using %config for files being installed under /usr



Hi,
  While reviewing some fonts-* packages , I saw files being installed
under /usr are marked as %config in their SPECS as shown below
%config(noreplace) %verify(not md5 size mtime) %{ttfontdir}/fonts.alias
%config(noreplace) %verify(not md5 size mtime) %{bmpfontdir}/fonts.alias
some are even have
%config(noreplace) %verify(not md5 size mtime)
/usr/share/fonts/%{ISONAME}/100dpi/fonts.alias

That made rpmlint to report following types of rpmlint messages on
those packages
E: fonts-ISO8859-2-100dpi file-in-usr-marked-as-conffile
/usr/share/fonts/ISO8859-2/100dpi/fonts.alias
A file in /usr is marked as being a configuration file.
Store your conf files in /etc/ instead.

Also i am reviewing
hwdata(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225893
) Core package and i even saw there
%config /usr/share/hwdata/*
and rpmlint is giving error.

How to handle this issue?

Regards,
Parag.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]