Formation of the Electronic Spectrum in Relativistic Jets of Gamma-Ray Blazars