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:
parent
2ab5bc1ad2
commit
28bca261fb
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user