I can't quite make out how you think you have contaminated the BRAKE shoes by changing the brake pipes

Brake fluid can only get into the drum past worn cylinder seals . So in the first instance I would make sure that the BRAKES have been bled properly [-/
If you have leaky cylinders then they need replacing or new seals and they are as cheap as chips if you plan ahead or get lucky on eBay. I am amazed at the number of guys out there that have a "crisis management" approach to running a classic car which is why some of the suppliers that put on big mark up on parts keep going.
If you do get some brake fluid on your brake shoes I used to throw them away as oil & brake friction do not mix. Then I realised that brake fluid is water soluable so an immersion in water , with a dash of washing up liquid to act as a wetting agent , will get them back on track when dried out
