Going to Spain you should have no problems at all.
If you are worried that American customs will think you brought the Laptop overseas and owe tax on it then take a photocopy of the receipt. But I have travelled with a laptop all over Europe, America and further a field and have never had any questions about it.