diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-05-15 01:01:34 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-05-15 01:01:34 (GMT) |
commit | 44ee2d717a0f0552d4d1d5978c473d60625a0b3c (patch) | |
tree | 058d32470b4afd1e3b37c411db51fd90347c6c50 /Source/CPack/cmCPackRPMGenerator.h | |
parent | b952336902e9206ba51e1d77b8e489bdd759f73f (diff) | |
download | CMake-44ee2d717a0f0552d4d1d5978c473d60625a0b3c.zip CMake-44ee2d717a0f0552d4d1d5978c473d60625a0b3c.tar.gz CMake-44ee2d717a0f0552d4d1d5978c473d60625a0b3c.tar.bz2 |
CPack/RPM different package names
Packagers may now set their own rpm package
file names or request that rpmbuild tool
chooses one for them. It also supports handing
of situations where one spec file may produce
multiple rpm packages.
Diffstat (limited to 'Source/CPack/cmCPackRPMGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackRPMGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackRPMGenerator.h b/Source/CPack/cmCPackRPMGenerator.h index a4a1ba8..9987cf4 100644 --- a/Source/CPack/cmCPackRPMGenerator.h +++ b/Source/CPack/cmCPackRPMGenerator.h @@ -65,12 +65,13 @@ protected: * Special case of component install where all * components will be put in a single installer. */ - int PackageComponentsAllInOne(); + int PackageComponentsAllInOne(const std::string& compInstDirName); virtual const char* GetOutputExtension() { return ".rpm"; } virtual bool SupportsComponentInstallation() const; virtual std::string GetComponentInstallDirNameSuffix( const std::string& componentName); + void AddGeneratedPackageNames(); }; #endif |