migrate spm@3.x
Merge pull request #4 from popomore/spm-3.x

migrate spm@3.x