From 2f1aa8a27c0d77b0ce5b3ce95417088eeba3c171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 26 Aug 2019 14:11:17 +0200 Subject: [PATCH] Adjust Python 2 BuildRequires to make it work both before and after python2 retirement --- qt5-qtwebengine.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index 3c0af25..2b90052 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -175,7 +175,8 @@ BuildRequires: pkgconfig(lcms2) BuildRequires: perl-interpreter # fesco exception to allow python2 use: https://pagure.io/fesco/issue/2208 # per https://fedoraproject.org/wiki/Changes/RetirePython2#FESCo_exceptions -BuildRequires: python2-devel +# Only the interpreter is needed +BuildRequires: %{__python2} %if 0%{?use_system_libvpx} BuildRequires: pkgconfig(vpx) >= 1.7.0 %endif