The way I understood it Spam is a form of processed meat from the US.
It was popularised in the UK (and possibly EU) by Monty Python.
There was no way manufacturers Hormel could (or would) have done anything about the Monty Python sketch, it boosted sales and was in no way derogatory.
Then as a result of the Monty Python sketch where it's repetition is the humour the word was carried into another realm as a description for (repetitive) junk email.
Hornel at some point tried to assert the trademark over companies selling anti-junk email software and using the word spam in their marketing.
They quite rightly failed because the word had become generic in the context of junk email, that and it was not competing in the same industry (food vs software) and it was not adversely affecting Hornel and the sales of Spam.
Hornel were very lucky to have had their product popularised in such a way and even with the use of the word in a separate context I'd say that as a result there will be a continued demand for the SPAM (TM) foodstuff as produced by Hornel, not many companies will be so lucky and in my opinion the attempted Trademark assertion over various software companies was pure folly.
Back to the topic.
When I read this story the only thought I could muster was WTF? Just WTF?