1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 00:09:14 +01:00

Set locale to make sure the date will be correct in the spec file (#6205)

This commit is contained in:
Jonas Kvinge 2018-11-17 15:11:53 +01:00 committed by John Maguire
parent 5a1a5a9d95
commit e60a0d817e

3
dist/CMakeLists.txt vendored
View File

@ -1,5 +1,4 @@
execute_process(COMMAND date "+%a %b %d %Y" execute_process(COMMAND env LC_ALL="en_US.utf8" date "+%a %b %d %Y" OUTPUT_VARIABLE RPM_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
OUTPUT_VARIABLE RPM_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/clementine.spec.in configure_file(${CMAKE_CURRENT_SOURCE_DIR}/clementine.spec.in
${CMAKE_CURRENT_SOURCE_DIR}/clementine.spec @ONLY) ${CMAKE_CURRENT_SOURCE_DIR}/clementine.spec @ONLY)