mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
--with compat_build: Don't set %py_reproducible_pyc_path to unexisting path
+ /usr/lib/rpm/redhat/brp-fix-pyc-reproducibility /builddir/build/BUILDROOT/llvm19-19.1.3-4.fc40.x86_64/usr/lib/python3.12/site-packages find: ‘/builddir/build/BUILDROOT/llvm19-19.1.3-4.fc40.x86_64/usr/lib/python3.12/site-packages’: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.VbdRja (%install)
This commit is contained in:
parent
836ccfcbb2
commit
d7e2d3dc1f
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ BuildRequires: procps-ng
|
||||||
# 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.
|
# 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
|
%if %{without compat_build} && ((%{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