Changes /etc to %{_sysconfdir} and $RPM_BUILD_ROOT to %{buildroot}, and also adds some examples to the module config file plus moves its generation to the %prep phase.
I'm not certain on the configuration directive examples (CloudFlareRemoteIPTrustedProxy especially) so those may need correcting.
Changes
/etc
to%{_sysconfdir}
and$RPM_BUILD_ROOT
to%{buildroot}
, and also adds some examples to the module config file plus moves its generation to the %prep phase. I'm not certain on the configuration directive examples (CloudFlareRemoteIPTrustedProxy
especially) so those may need correcting.