summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackRPMGenerator.h
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2011-03-23 17:28:05 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2011-03-23 17:28:05 (GMT)
commit6dfc818394d302d5966431fc72b4150777780b79 (patch)
treec4837ae3a47a244be37e835760feac8d86bd86cf /Source/CPack/cmCPackRPMGenerator.h
parent4344e83fcf521072b0101b67a50e31e7f4032abb (diff)
downloadCMake-6dfc818394d302d5966431fc72b4150777780b79.zip
CMake-6dfc818394d302d5966431fc72b4150777780b79.tar.gz
CMake-6dfc818394d302d5966431fc72b4150777780b79.tar.bz2
CPack fix #11930 and simplifies component packaging options
Diffstat (limited to 'Source/CPack/cmCPackRPMGenerator.h')
-rw-r--r--Source/CPack/cmCPackRPMGenerator.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackRPMGenerator.h b/Source/CPack/cmCPackRPMGenerator.h
index 7c2e434..4883a0d 100644
--- a/Source/CPack/cmCPackRPMGenerator.h
+++ b/Source/CPack/cmCPackRPMGenerator.h
@@ -39,6 +39,10 @@ protected:
virtual int InitializeInternal();
virtual int PackageFiles();
/**
+ * This method factors out the work done in component packaging case.
+ */
+ int PackageOnePack(std::string initialToplevel, std::string packageName);
+ /**
* The method used to package files when component
* install is used. This will create one
* archive for each component group.
@@ -48,7 +52,7 @@ protected:
* Special case of component install where all
* components will be put in a single installer.
*/
- int PackageComponentsAllInOne(bool allComponent);
+ int PackageComponentsAllInOne();
virtual const char* GetOutputExtension() { return ".rpm"; }
virtual bool SupportsComponentInstallation() const;
virtual std::string GetComponentInstallDirNameSuffix(