Are you translating after you rotated?
To archive your spaceships rotation, you'd need the following order of transformations (I don't know if this order has a name):
(Rotate -> Scale) -> Translate
The first two can be switched.
So rotate it around 0,0,0
Then scale it if needed
Then translate it to xyz, then it looks like it rotated around itself. Though the center of the vertices/the center of the spaceships model must be around 0,0,0, in terms of vertices.
Hope this helps.