mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
Disable marshalparser on RHEL 8
This commit is contained in:
parent
e4775c8385
commit
1dd985a086
1 changed files with 2 additions and 1 deletions
|
@ -110,9 +110,10 @@ BuildRequires: python3-pexpect
|
||||||
# This is required because we need "ps" when running LLDB tests
|
# This is required because we need "ps" when running LLDB tests
|
||||||
BuildRequires: procps-ng
|
BuildRequires: procps-ng
|
||||||
|
|
||||||
%if %{without compat_build}
|
|
||||||
# For reproducible pyc file generation
|
# For reproducible pyc file generation
|
||||||
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
||||||
|
# Since Fedora 41 this happens automatically, and RHEL 8 does not support this.
|
||||||
|
%if (%{defined fedora} && 0%{?fedora} < 41) || 0%{?rhel} == 9 || 0%{?rhel} == 10
|
||||||
BuildRequires: /usr/bin/marshalparser
|
BuildRequires: /usr/bin/marshalparser
|
||||||
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
Loading…
Reference in a new issue