Change fedora rpm suffix
This commit is contained in:
@@ -48,7 +48,7 @@ if (LSB_RELEASE_EXEC AND RPMBUILD_EXEC)
|
|||||||
)
|
)
|
||||||
elseif (${DIST_NAME} STREQUAL "fedora")
|
elseif (${DIST_NAME} STREQUAL "fedora")
|
||||||
if (DIST_VERSION)
|
if (DIST_VERSION)
|
||||||
set(RPM_DISTRO "${DIST_NAME}${DIST_VERSION}" CACHE STRING "Suffix of the rpm file")
|
set(RPM_DISTRO "fc${DIST_VERSION}" CACHE STRING "Suffix of the rpm file")
|
||||||
else ()
|
else ()
|
||||||
set(RPM_DISTRO ${DIST_NAME} CACHE STRING "Suffix of the rpm file")
|
set(RPM_DISTRO ${DIST_NAME} CACHE STRING "Suffix of the rpm file")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user