summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJulien Pivotto <roidelapluie@inuits.eu>2015-10-21 11:51:15 +0200
committerSergei Golubchik <serg@mariadb.org>2015-12-09 13:41:41 +0100
commit584c07bd8808919c0b7bbc68864074af68ae5035 (patch)
tree1a1de3ab776b2eee9e2d6ef94b993979d45ab2a1 /cmake
parent142b7256070a5fc54f2e841e4bafdd544318eef5 (diff)
downloadmariadb-git-584c07bd8808919c0b7bbc68864074af68ae5035.tar.gz
MDEV-8978 Specify GPL version in RPM metadata
The License field in the MariaDB RPM packages is GPL. This does not tell the version of GPL and might confuse tools and users that rely on this field. Best practice in the RPM world is to use "GPLv2" for the GPL 2.0 license. The commit switches the license field of the RPM packages to GPLv2.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack_rpm.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index bd8d96154b2..c5af3e68984 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -31,7 +31,7 @@ SET(CPACK_RPM_PACKAGE_NAME "MariaDB")
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE_SYSTEM_PROCESSOR}")
SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}")
-SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
+SET(CPACK_RPM_PACKAGE_LICENSE "GPLv2")
SET(CPACK_RPM_PACKAGE_RELOCATABLE FALSE)
SET(CPACK_RPM_PACKAGE_GROUP "Applications/Databases")
SET(CPACK_RPM_PACKAGE_URL "http://mariadb.org")