1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-31 09:44:50 +01:00

Fix mageia rpm suffix

This commit is contained in:
Jonas Kvinge 2019-08-04 03:16:30 +02:00
parent 2ab5bc1ad2
commit 28bca261fb

View File

@ -47,8 +47,8 @@ if (LSB_RELEASE_EXEC AND RPMBUILD_EXEC)
set(RPM_DISTRO ${DIST_NAME} CACHE STRING "Suffix of the rpm file")
endif()
elseif (${DIST_NAME} STREQUAL "mageia")
if (DIST_VERSION)
set(RPM_DISTRO "${DIST_VERSION}" CACHE STRING "Suffix of the rpm file")
if (DIST_RELEASE)
set(RPM_DISTRO "mga${DIST_RELEASE}" CACHE STRING "Suffix of the rpm file")
else ()
set(RPM_DISTRO ${DIST_NAME} CACHE STRING "Suffix of the rpm file")
endif()