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

Parag N(पराग़) panemade at gmail.com
Wed Feb 28 05:46:23 UTC 2007


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.




More information about the fedora-devel-list mailing list