MDEV-5250 doesn't install on fedora if mysql is installed

when our package is to replace "mysql", it has both provide and obsolete it
This commit is contained in:
Sergei Golubchik 2013-11-07 13:22:27 +01:00
parent 0c6a40f2d5
commit d1f2ba3985

View file

@ -127,6 +127,8 @@ SET(CPACK_RPM_test_PACKAGE_PROVIDES "MySQL-test mysql-test")
MACRO(ALTERNATIVE_NAME real alt)
SET(p "CPACK_RPM_${real}_PACKAGE_PROVIDES")
SET(${p} "${${p}} ${alt} ${alt}(x86-32) ${alt}(x86-64) config(${alt})")
SET(o "CPACK_RPM_${real}_PACKAGE_OBSOLETES")
SET(${o} "${${o}} ${alt}")
ENDMACRO(ALTERNATIVE_NAME)
IF(RPM MATCHES "(rhel|centos)5")