I believe the attached patch to distcc.spec will fix the problem.
--- distcc.spec.orig 2005-01-23 15:13:48.824666000 -0600 +++ distcc.spec 2005-01-23 15:14:01.867683160 -0600 @@ -85,7 +85,7 @@ LDFLAGS="%{l_ldflags}" ./configure --prefix=%{l_prefix} - --sysconfdir=%{l_prefix}/etc/distcc + --sysconfdir=%{l_prefix}/etc %if "%{with_x11}" == "yes" --with-gtk %endif