Force SOURCE_DATE_EPOCH
Resolves: rhbz#1994082
This commit is contained in:
parent
51d83400cb
commit
f282655200
13
clang.spec
13
clang.spec
@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
Name: %pkg_name
|
Name: %pkg_name
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
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
|
Summary: A C language family front-end for LLVM
|
||||||
|
|
||||||
License: NCSA
|
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
|
ln -s %{_datadir}/clang/clang-format-diff.py %{buildroot}%{_bindir}/clang-format-diff
|
||||||
|
|
||||||
%check
|
%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}
|
%if !0%{?compat_build}
|
||||||
# requires lit.py from LLVM utilities
|
# requires lit.py from LLVM utilities
|
||||||
# FIXME: Fix failing ARM tests
|
# FIXME: Fix failing ARM tests
|
||||||
# FIXME: Don't require s390x checks due to: rhbz#1994082
|
SOURCE_DATE_EPOCH=1629181597 LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %cmake_build --target check-all || \
|
||||||
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %cmake_build --target check-all || \
|
%ifarch %{arm}
|
||||||
%ifarch %{arm} s390x
|
|
||||||
:
|
:
|
||||||
%else
|
%else
|
||||||
false
|
false
|
||||||
@ -583,6 +585,9 @@ false
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
%changelog
|
%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 <tstellar@redhat.com> - 12.0.1-4
|
* Mon Aug 16 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-4
|
||||||
- Don't requirest tests on s390x
|
- Don't requirest tests on s390x
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user