do not use discontinued %_python_bytecompile_extra macro

The files in %{python3_sitearch}/curl are byte-compiled without it
already and the files installed as documentation do not need to be
byte-compiled.
This commit is contained in:
Kamil Dudka 2020-06-23 20:50:28 +02:00
parent 8313b199d3
commit 6c3169e8f7

View File

@ -1,7 +1,3 @@
# This package depends on automagic byte compilation
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
%global _python_bytecompile_extra 1
# python3 is not available on RHEL <= 7
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without python3
@ -158,6 +154,7 @@ rm -fv tests/fake-curl/libcurl/*.so
%changelog
* Tue Jun 23 2020 Kamil Dudka <kdudka@redhat.com> - 7.43.0.5-3
- do not use discontinued %%_python_bytecompile_extra macro
- explicitly require python3-setuptools for build
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 7.43.0.5-2