diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2014-10-17 15:08:50 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2014-10-17 15:08:50 +0400 |
commit | 52fb08ac31baef24ca5f5f3b62ccbfcb9f0d083b (patch) | |
tree | b7ef7634811c20ef5e17954cc09fb837390c3711 /cmake/cpack_rpm.cmake | |
parent | 24603033e3249e266bd27cbfbc50b7c2517ec6a6 (diff) | |
download | mariadb-git-52fb08ac31baef24ca5f5f3b62ccbfcb9f0d083b.tar.gz |
MDEV-6886 - Add RHEL7 RPM layout
Set proper alternative names on RHEL7: they should match Fedora names.
Diffstat (limited to 'cmake/cpack_rpm.cmake')
-rw-r--r-- | cmake/cpack_rpm.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake index 30924120526..f5642ff4a00 100644 --- a/cmake/cpack_rpm.cmake +++ b/cmake/cpack_rpm.cmake @@ -182,7 +182,7 @@ IF(RPM MATCHES "(rhel|centos)5") ELSEIF(RPM MATCHES "(rhel|centos)6") ALTERNATIVE_NAME("client" "mysql") ALTERNATIVE_NAME("shared" "mysql-libs") -ELSEIF(RPM MATCHES "fedora") +ELSEIF(RPM MATCHES "fedora" OR RPM MATCHES "(rhel|centos)7") SET(epoch 1) # this is fedora ALTERNATIVE_NAME("client" "mariadb") ALTERNATIVE_NAME("client" "mysql") |