Dust spots in flat fields

At least Canon’s software (DPP) works just like you described, dust removal data are saved in metadata and usable only with (the same version of) Canon’s program.

Edit: Same thing with Lightroom (5.7) and exported DNG.