migrate spm@3.x
Merge pull request #1 from popomore/master

migrate spm@3.x