From f28265520058f7809ce5e560a6e0b0951e25c14a Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Tue, 17 Aug 2021 10:29:15 +0200 Subject: [PATCH] Force SOURCE_DATE_EPOCH Resolves: rhbz#1994082 --- clang.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/clang.spec b/clang.spec index 0407710..d4f6494 100644 --- a/clang.spec +++ b/clang.spec @@ -78,7 +78,7 @@ Name: %pkg_name Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 4%{?dist} +Release: 5%{?dist} Summary: A C language family front-end for LLVM License: NCSA @@ -487,12 +487,14 @@ rm -Rvf %{buildroot}%{_includedir}/clang-tidy/ ln -s %{_datadir}/clang/clang-format-diff.py %{buildroot}%{_bindir}/clang-format-diff %check +# see rhbz#1994082 +sed -i -e "s/'ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH'/'ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH', 'SOURCE_DATE_EPOCH'/" test/lit.cfg.py + %if !0%{?compat_build} # requires lit.py from LLVM utilities # FIXME: Fix failing ARM tests -# FIXME: Don't require s390x checks due to: rhbz#1994082 -LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %cmake_build --target check-all || \ -%ifarch %{arm} s390x +SOURCE_DATE_EPOCH=1629181597 LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %cmake_build --target check-all || \ +%ifarch %{arm} : %else false @@ -583,6 +585,9 @@ false %endif %changelog +* Tue Aug 17 2021 sguelton@redhat.com - 12.0.1-5 +- Force SOURCE_DATE_EPOCH, fix rhbz#1994082 + * Mon Aug 16 2021 Tom Stellard - 12.0.1-4 - Don't requirest tests on s390x