summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8bfc2e2..ec6ae73 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -265,7 +265,10 @@ else()
endif()
configure_file(unit/biboumi.service.cmake biboumi.service)
+# The date MUST be in english format
+set(ENV{LANG} "en_US.utf-8")
execute_process(COMMAND "date" "+%a %b %d %Y" OUTPUT_VARIABLE RPM_DATE
OUTPUT_STRIP_TRAILING_WHITESPACE)
+unset(ENV{LANG})
configure_file(packaging/biboumi.spec.cmake biboumi.spec)