Fix python-bytecode-inconsistent-mtime of learned_dfas.py

This commit is contained in:
Miro Hrončok 2021-03-08 16:45:53 +01:00
parent 8aaf74cd4e
commit 3c2d0806b4

View File

@ -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 <mhroncok@redhat.com> - 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 <mhroncok@redhat.com> - 5.43.9-1