Disable automatic compilation of Python files in /usr/share/rpmlint

The rpmlint build process byte compiles these, so no manual byte
compilation is needed.  (The make definition COMPILE_PYC has been used
since 83a9a35 (2009-11-02).  Prior to that a patch was applied to byte
compile in %build.)
This commit is contained in:
Todd Zullinger 2018-06-17 13:18:21 -04:00
parent 68a527b440
commit 6da2389eba

View File

@ -4,6 +4,9 @@
%bcond_with python3
%endif
# Disable automatic compilation of Python files in /usr/share/rpmlint
%global _python_bytecompile_extra 0
%if %{with python3}
%global python %{__python3}
%global pytest %(ls -1 %{_bindir}/py.test-3* | tail -n 1)
@ -141,6 +144,7 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
* Sun Jun 17 2018 Todd Zullinger <tmz@pobox.com> - 1.10-15
- Fix mixed-use-of-spaces-and-tabs warning (in this spec file)
- Remove el4/el5 configs and /usr/bin symlinks
- Disable automatic compilation of Python files in /usr/share/rpmlint
* Tue Jun 12 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10-14
- apply upstream fix for python 3.7 new magic numbers