Certified GKH Gardening Expert
It may be orange rust, which is dangerous for black raspberries. Typically, this disease appears on the leaves, but it can occasionally show in the fruit. Here is more information on that:
It could be another form of fungus as well. You can treat the plant with fungicide, which will kill most fungus, but will not kill the range rust mentioned above.