brp-python-bytecompile: Pass --invalidation-mode=timestamp to compileall
Resolves: RHEL-22139
This commit is contained in:
parent
f567673967
commit
74cfcb57bf
@ -57,7 +57,7 @@ function python_bytecompile()
|
|||||||
# -x and -e together implements the same functionality as the Filter class below
|
# -x and -e together implements the same functionality as the Filter class below
|
||||||
# -s strips $RPM_BUILD_ROOT from the path
|
# -s strips $RPM_BUILD_ROOT from the path
|
||||||
# -p prepends the leading slash to the path to make it absolute
|
# -p prepends the leading slash to the path to make it absolute
|
||||||
$python_binary -B $options -m compileall -q -f $exclude -s $RPM_BUILD_ROOT -p / -e $RPM_BUILD_ROOT $python_libdir
|
$python_binary -B $options -m compileall -q -f $exclude -s $RPM_BUILD_ROOT -p / -e $RPM_BUILD_ROOT --invalidation-mode=timestamp $python_libdir
|
||||||
|
|
||||||
#
|
#
|
||||||
# Python 3.4 and higher
|
# Python 3.4 and higher
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 206
|
Version: 207
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -254,6 +254,10 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
|
|||||||
%doc buildflags.md
|
%doc buildflags.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 18 2024 Miro Hrončok <mhroncok@redhat.com> - 207-1
|
||||||
|
- brp-python-bytecompile: Pass --invalidation-mode=timestamp to compileall
|
||||||
|
- Resolves: RHEL-22139
|
||||||
|
|
||||||
* Mon Oct 02 2023 Nikita Popov <npopov@redhat.com> - 206-1
|
* Mon Oct 02 2023 Nikita Popov <npopov@redhat.com> - 206-1
|
||||||
- Use correct format specifier in brp-llvm-compile-lto-elf
|
- Use correct format specifier in brp-llvm-compile-lto-elf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user