Generate a patch without hacing generated a base release version


I want to generate a patch against a version of which I have a pkg but I did not use -createreleaseversion. Is there a way to extract the metatada from the pkg file so I cant create a patch with -basedonreleaseversion against it?