compat_build: remove pyc BuildRequires
This error is seen on the compat_build find: '.../rpmbuild/BUILDROOT/clang13-13.0.0-5.fc36.x86_64/ usr/lib/python3.10/site-packages': No such file or directory python3-clang is not part of the compat_build so ifdef out the problem area. Signed-off-by: Tom Rix <trix@redhat.com>
This commit is contained in:
parent
f1fb141ebf
commit
993e8358ae
@ -128,10 +128,12 @@ BuildRequires: libatomic
|
||||
# We need python3-devel for %%py3_shebang_fix
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%if %{without compat_build}
|
||||
# For reproducible pyc file generation
|
||||
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
||||
BuildRequires: /usr/bin/marshalparser
|
||||
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
||||
%endif
|
||||
|
||||
# Needed for %%multilib_fix_c_header
|
||||
BuildRequires: multilib-rpm-config
|
||||
|
Loading…
Reference in New Issue
Block a user