From 6c3169e8f7092e3d66a0f14b634e51ad677bc55b Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 23 Jun 2020 20:50:28 +0200 Subject: [PATCH] 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. --- python-pycurl.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python-pycurl.spec b/python-pycurl.spec index 9319dd0..b5a68c1 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -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 - 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 - 7.43.0.5-2