1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-06-13 16:26:59 -05:00

Fix RPM reproducibility macro escaping

Escape RPM line-continuation backslashes in CPACK_RPM_SPEC_MORE_DEFINE so generated CPackConfig.cmake parses cleanly on CMake 2.8.
This commit is contained in:
Mounir IDRASSI
2026-06-09 16:49:05 +09:00
parent d26be95861
commit dd96f1a483
+2 -2
View File
@@ -440,8 +440,8 @@ elseif ( ( PLATFORM STREQUAL "CentOS" ) OR ( PLATFORM STREQUAL "openSUSE" ) OR (
%define clamp_mtime_to_source_date_epoch 1
%define build_mtime_policy clamp_to_source_date_epoch
%global _vc_default_os_install_post %{__os_install_post}
%define __os_install_post %{_vc_default_os_install_post} \\
find $RPM_BUILD_ROOT -exec touch --no-dereference --date=@${SOURCE_DATE_EPOCH} {} + \\
%define __os_install_post %{_vc_default_os_install_post} \\\\
find $RPM_BUILD_ROOT -exec touch --no-dereference --date=@${SOURCE_DATE_EPOCH} {} + \\\\
%{nil}")
if(CPACK_RPM_SPEC_MORE_DEFINE)
set(CPACK_RPM_SPEC_MORE_DEFINE "${CPACK_RPM_SPEC_MORE_DEFINE}\n${_vc_rpm_repro_defines}")