diff --git a/brp-python-bytecompile b/brp-python-bytecompile index ead7022..4f587d4 100755 --- a/brp-python-bytecompile +++ b/brp-python-bytecompile @@ -57,7 +57,7 @@ function python_bytecompile() # -x and -e together implements the same functionality as the Filter class below # -s strips $RPM_BUILD_ROOT from the path # -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 diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 8a7dd05..aee0fdf 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 206 +Version: 207 Release: 1%{?dist} # No version specified. License: GPL+ @@ -254,6 +254,10 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Thu Jan 18 2024 Miro HronĨok - 207-1 +- brp-python-bytecompile: Pass --invalidation-mode=timestamp to compileall +- Resolves: RHEL-22139 + * Mon Oct 02 2023 Nikita Popov - 206-1 - Use correct format specifier in brp-llvm-compile-lto-elf