Boundary conditions for perturbations of spin fields