If you're playing to win, you don't stand around teasing your opponent to the point that you start taking hits. Expecting someone to quit spamming a move because it's beating you is no different then being beaten with a wicked line of combos. I wouldn't try not to let either of those tactics get the best of me so the most logical solution is to find the weaknesses (you only get this through practice and experience), or get better as the same character that you're up against, and just.. be faster and better.
Spamming moves isn't always entirely the users fault. Some characters are built with slow movesets, and the best way to use them is to find their fastest moves and use them whenever applicable. While you might find Links Up+B annoying, it's one of the only moves with enough range, speed and power to keep Link from taking damage when the pressure is on. And it's obviously a great edge guarding finishing move.
I'm really impressed with people who fight hard with slow (giant) characters like Bowser. It's great and impressive, and I just like having a variety of skilled players playing hard with their favorite characters. Makes things more interesting and unpredictable, y'know?
So autobzooty, I suggest you keep practicing against your friend until he's a cakewalk to beat. Maybe even try out other characters. I'm positive that he'll adopt a new strategy for you to go up against.