diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 1c10577..8665ce4 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -91,6 +91,12 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/_build/man/hypothesis.1 --ignore tests/codemods \ --ignore tests/dpcontracts \ --ignore tests/redis \ + +# The BRP that handles bytecompilation already run at the end of %%install. +# This autogenerated file gets re-generated during tests, +# the tests asserts the content is identical, but the mtime is changed anyway. +# Since %%pytest disables byte-compilation, we need to update the pycs manually: +%py_byte_compile %{python3} %{buildroot}%{python3_sitelib}/hypothesis/internal/conjecture/shrinking/learned_dfas.py %endif @@ -107,6 +113,7 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/_build/man/hypothesis.1 * Mon Mar 08 2021 Miro Hrončok - 6.6.0-1 - Update to 6.6.0 - Add subpackages with extras +- Fix python-bytecode-inconsistent-mtime of learned_dfas.py - Fixes: rhbz#1902400 * Mon Feb 01 2021 Miro Hrončok - 5.43.9-1