Proper fitting to sweat onto copper for tub spout
In my continuing adventures in plumbing, I find myself replacing a tub spout/diverter thanks to a $0.50 piece of plastic that broke while I was re-installing the spout. This was the inside plastic pipe for the spout itself.
So I bought a new universal diverter spout, but noticed when I got home that the piece sweated on to the copper pipe was particular to just that spout, and was not just the easy end of 1/2" copper pipe (it is 1/2" ID pipe, btw).
Ok, so I undid the solder joint, took off that custom piece, and now I have bare pipe sticking out of the wall. I'm not sure if I should be looking for a fitting or some other option to make some threads available to me. What is the proper way for me to proceed here so that I may cleanly attach my universal spout/diverter?
Thanks :)