Explicitly pass python2 to configure.

This commit is contained in:
Richard Shaw 2018-03-15 07:01:28 -05:00
parent b6711da6dd
commit ca56a9e7c3

View File

@ -87,7 +87,6 @@ Hamlib PERL Language bindings to allow radio control from PERL scripts.
%{?python_provide:%python_provide python2-%{name}} %{?python_provide:%python_provide python2-%{name}}
Summary: Hamlib radio control library Python binding Summary: Hamlib radio control library Python binding
Requires: hamlib%{?_isa} = %{version}-%{release}, python2 Requires: hamlib%{?_isa} = %{version}-%{release}, python2
Obsoletes: hamlib-python < 3.0
%description -n python2-%{name} %description -n python2-%{name}
Hamlib Python Language bindings to allow radio control from Python scripts. 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} %package -n tcl-%{name}
Summary: Hamlib radio control library TCL binding Summary: Hamlib radio control library TCL binding
Requires: hamlib%{?_isa} = %{version}-%{release} Requires: hamlib%{?_isa} = %{version}-%{release}
Obsoletes: hamlib-tcl < 3.0
Provides: hamlib-tcl = %{version}-%{release} Provides: hamlib-tcl = %{version}-%{release}
%description -n tcl-%{name} %description -n tcl-%{name}
@ -107,6 +105,7 @@ Hamlib TCL Language bindings to allow radio control from TCL scripts.
%build %build
export PYTHON=%{__python2}
autoreconf -fi autoreconf -fi
%configure \ %configure \
--disable-static \ --disable-static \