The files section of my spec-file looks like this:
%files
%{prefix}/htdocs/
%config %{prefix}/htdocs/share/settings/config.inc.php
Now, since the config file is already included in the %{prefix}/htdocs/
line I get the warning 'File listed twice'.
One way around would be, to list every single file within %{prefix}/htdocs/
, except the config file.
But my question is: Is there a better way around this issue, than listing all files?