summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-03-21 11:35:48 +0100
committerSergei Golubchik <serg@mariadb.org>2016-03-21 11:40:37 +0100
commite7cf898d6dc3dcac41f58db4761df3a6d1dffc03 (patch)
tree3313fa9a9a3ced8aa57f1a8167648939c454f9d8 /cmake
parentc03433dea75435762c404dd02c123c0d05c106c8 (diff)
downloadmariadb-git-e7cf898d6dc3dcac41f58db4761df3a6d1dffc03.tar.gz
rpm: prefer the conditional %{?...} syntax
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 efd68b863f4..f7eb335b966 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -179,7 +179,7 @@ MACRO(ALTERNATIVE_NAME real alt)
SET(p "CPACK_RPM_${real}_PACKAGE_PROVIDES")
SET(${p} "${${p}} ${alt} = ${ver} ${alt}%{?_isa} = ${ver} config(${alt}) = ${ver}")
SET(o "CPACK_RPM_${real}_PACKAGE_OBSOLETES")
- SET(${o} "${${o}} ${alt} ${alt}%{_isa}")
+ SET(${o} "${${o}} ${alt} ${alt}%{?_isa}")
ENDMACRO(ALTERNATIVE_NAME)
ALTERNATIVE_NAME("devel" "mysql-devel")