Merge topic 'CPackDEB-wrong-install-size'
5495a6d CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)
This commit is contained in:
commit
d00d71e6cf
@ -121,7 +121,7 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName,
|
|||||||
totalSize += cmSystemTools::FileLength(fileIt->c_str());
|
totalSize += cmSystemTools::FileLength(fileIt->c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out << "Installed-Size: " << totalSize << "\n";
|
out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n";
|
||||||
out << "Maintainer: " << maintainer << "\n";
|
out << "Maintainer: " << maintainer << "\n";
|
||||||
out << "Description: " << desc << "\n";
|
out << "Description: " << desc << "\n";
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user