They say sprinkling curry powder or something similarly spicy onto a poo then letting your dog have a go will put it off for life. I'm not convinced though - my dog loves spicy food.
fresh horse manure is suposed to do the trick .You let them eat as much as they like ,it makes them sick ,and will not pick up poo again. This helped with one of mine.