From ca56a9e7c396ae6b66c6c95f04d1049a42cfa272 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Thu, 15 Mar 2018 07:01:28 -0500 Subject: [PATCH] Explicitly pass python2 to configure. --- hamlib.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hamlib.spec b/hamlib.spec index 6584804..ddbb79d 100644 --- a/hamlib.spec +++ b/hamlib.spec @@ -87,7 +87,6 @@ Hamlib PERL Language bindings to allow radio control from PERL scripts. %{?python_provide:%python_provide python2-%{name}} Summary: Hamlib radio control library Python binding Requires: hamlib%{?_isa} = %{version}-%{release}, python2 -Obsoletes: hamlib-python < 3.0 %description -n python2-%{name} Hamlib Python Language bindings to allow radio control from Python scripts. @@ -95,7 +94,6 @@ Hamlib Python Language bindings to allow radio control from Python scripts. %package -n tcl-%{name} Summary: Hamlib radio control library TCL binding Requires: hamlib%{?_isa} = %{version}-%{release} -Obsoletes: hamlib-tcl < 3.0 Provides: hamlib-tcl = %{version}-%{release} %description -n tcl-%{name} @@ -107,6 +105,7 @@ Hamlib TCL Language bindings to allow radio control from TCL scripts. %build +export PYTHON=%{__python2} autoreconf -fi %configure \ --disable-static \