Non-existing path in py_reproducible_pyc_path causes build to fail
This commit is contained in:
parent
5b578a851f
commit
7b546cae36
@ -15,4 +15,6 @@ if [ ! -x /usr/bin/marshalparser ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set pipefail so if $path_to_fix does not exist, the build fails
|
||||||
|
set -o pipefail
|
||||||
find "$path_to_fix" -type f -name "*.pyc" | xargs /usr/bin/marshalparser --fix --overwrite
|
find "$path_to_fix" -type f -name "*.pyc" | xargs /usr/bin/marshalparser --fix --overwrite
|
||||||
|
@ -47,7 +47,7 @@ elseif posix.stat('macros.python-srpm') then
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
Version: %{__default_python3_version}
|
Version: %{__default_python3_version}
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -141,6 +141,10 @@ install -m 755 brp-* %{buildroot}%{_rpmconfigdir}/redhat/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 12 2021 Lumír Balhar <lbalhar@redhat.com> - 3.10-10
|
||||||
|
- Non-existing path in py_reproducible_pyc_path causes build to fail
|
||||||
|
Resolves: rhbz#2011056
|
||||||
|
|
||||||
* Thu Sep 09 2021 Miro Hrončok <mhroncok@redhat.com> - 3.10-9
|
* Thu Sep 09 2021 Miro Hrončok <mhroncok@redhat.com> - 3.10-9
|
||||||
- Set $RPM_BUILD_ROOT in %%{python3_...} macros
|
- Set $RPM_BUILD_ROOT in %%{python3_...} macros
|
||||||
to allow selecting alternate sysconfig install scheme based on that variable
|
to allow selecting alternate sysconfig install scheme based on that variable
|
||||||
|
Loading…
Reference in New Issue
Block a user