diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-02-13 01:09:32 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-02-13 01:09:32 (GMT) |
commit | 7c7efd1ed92e3c423f463c0249e1c05a33ff8049 (patch) | |
tree | a8b1898be8bb4d25e914dbc5e027a987cc6ed811 /Help/release/dev | |
parent | 86d2f3252591f413e57a623e297911bbf03b481e (diff) | |
download | CMake-7c7efd1ed92e3c423f463c0249e1c05a33ff8049.zip CMake-7c7efd1ed92e3c423f463c0249e1c05a33ff8049.tar.gz CMake-7c7efd1ed92e3c423f463c0249e1c05a33ff8049.tar.bz2 |
CPack/RPM support for upper cased component variables
CPACK_* variables expect component name in upper case.
CPACK_RPM_* variables expected component name to be
in same case as component name.
This patch adds support for CPACK_RPM_* variables with
upper case component names to match the convention with
CPACK_* variables and also preserves same case component
names for back compatibility.
Diffstat (limited to 'Help/release/dev')
-rw-r--r-- | Help/release/dev/cpack-rpm-upper-cased-components.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/release/dev/cpack-rpm-upper-cased-components.rst b/Help/release/dev/cpack-rpm-upper-cased-components.rst new file mode 100644 index 0000000..a5fb233 --- /dev/null +++ b/Help/release/dev/cpack-rpm-upper-cased-components.rst @@ -0,0 +1,15 @@ +cpack-rpm-upper-cased-components +-------------------------------- + +* The "CPackRPM" module now supports upper cased component name + in per component CPackRPM specific variables. + E.g. component named ``foo`` now expects component specific + variable to be ``CPACK_RPM_FOO_PACKAGE_NAME`` while before + it expected ``CPACK_RPM_foo_PACKAGE_NAME``. + Upper cased component name part in variables is compatible + with convention used for other CPack variables. + For back compatibility old format of variables is still valid + and prefered if both versions of variable are set, but the + preferred future use is upper cased component names in variables. + New variables that will be added to CPackRPM in later versions + will only support upper cased component variable format. |