Skip to content

Commit e7cf898

Browse files
committed
rpm: prefer the conditional %{?...} syntax
1 parent c03433d commit e7cf898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/cpack_rpm.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ MACRO(ALTERNATIVE_NAME real alt)
179179
SET(p "CPACK_RPM_${real}_PACKAGE_PROVIDES")
180180
SET(${p} "${${p}} ${alt} = ${ver} ${alt}%{?_isa} = ${ver} config(${alt}) = ${ver}")
181181
SET(o "CPACK_RPM_${real}_PACKAGE_OBSOLETES")
182-
SET(${o} "${${o}} ${alt} ${alt}%{_isa}")
182+
SET(${o} "${${o}} ${alt} ${alt}%{?_isa}")
183183
ENDMACRO(ALTERNATIVE_NAME)
184184

185185
ALTERNATIVE_NAME("devel" "mysql-devel")

0 commit comments

Comments
 (0)