Homogenization of Spectral Problems with Sign-Changing Weight Function