rpmlint
rpmlint copied to clipboard
Reword non-etc-or-var-file-marked-as-conffile
[ 479s] Mesa.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/share/drirc.d/00-mesa-defaults.conf
[ 479s] A file not in /etc or /var is marked as being a configuration file (%config).
[ 479s] Please put your configuration files in /etc or /var.
New proposed wording:
Put your configuration files in /etc or /var, or remove the %config attribute from the corresponding line in the %files section.
I'd probably say that we should be even stronger here and just say %config should not be used in anything but /etc and /var, no?
Yep, ack on that, even it could be error, the files check is one of the tests that are not yet rewritten.
What about the recently increasingly used %_distconfdir (/usr/etc/)?
What about the recently increasingly used
%_distconfdir(/usr/etc/)?
- It's an openSUSE-ism
- They must not be marked as
%config.
Ok thank you. I will take it into account when I adjust %jupyter_move_config