public ChangesFile createChanges(BinaryPackageControlFile packageControlFile, File binaryPackage, ChangesProvider changesProvider) throws IOException, PackagingException {
ChangesFile changesFile = new ChangesFile();
changesFile.setChanges(changesProvider.getChangesSets());
changesFile.initialize(packageControlFile);
changesFile.set("Date", ChangesFile.formatDate(new Date()));
try {
// compute the checksums of the binary package