From 3119ec72f32abf0dbd1edf7fc2f302fc9dd60ced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Fri, 22 Apr 2016 10:36:14 +0200 Subject: [PATCH] Force LANG to en_US when generating biboumi.spec (fixes the date format) --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.45.2