Skip to content

Commit 938d766

Browse files
committed
ET#67376 [Connctor/C++] Fix the build-date in the INFO_BIN in Fedora packages
The rpm build for fedora platform sets the changelog date for SOURCE_DATE_EPOCH env variable. Unsetting the SOURCE_DATE_EPOCH env variable to use the current system date
1 parent 563817d commit 938d766

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildinfo.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ FUNCTION(GENERATE_INFO_BIN)
3636
ENDIF()
3737

3838
MESSAGE("Generating INFO_BIN")
39+
UNSET(ENV{SOURCE_DATE_EPOCH})
3940
string(TIMESTAMP INFO_DATE "%Y-%m-%d")
4041

4142
IF (CMAKE_BUILD_TYPE)

0 commit comments

Comments
 (0)