From 1fb662dea7bbc398eeb53fc835c625ea8d4c0192 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Dec 08 2017 14:17:16 +0000 Subject: Fix ambiguous Python 2 dependency declarations https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 --- diff --git a/hamlib.spec b/hamlib.spec index 7ac3248..dc9d2e9 100644 --- a/hamlib.spec +++ b/hamlib.spec @@ -9,7 +9,7 @@ Name: hamlib Version: 3.1 -Release: 9%{?pre:.%{pre}}%{?dist} +Release: 10%{?pre:.%{pre}}%{?dist} Summary: Run-time library to control radio transceivers and receivers License: GPLv2+ and LGPLv2+ @@ -91,9 +91,8 @@ Hamlib PERL Language bindings to allow radio control from PERL scripts. %package -n python2-%{name} %{?python_provide:%python_provide python2-%{name}} Summary: Hamlib radio control library Python binding -Requires: hamlib%{?_isa} = %{version}-%{release}, python +Requires: hamlib%{?_isa} = %{version}-%{release}, python2 Obsoletes: hamlib-python < 3.0 -Provides: hamlib-python = %{version}-%{release} %description -n python2-%{name} Hamlib Python Language bindings to allow radio control from Python scripts. @@ -227,6 +226,10 @@ fi %changelog +* Fri Dec 08 2017 Richard Shaw - 3.1-10 +- Fix ambiguous Python 2 dependency declarations + https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Fri Sep 1 2017 Richard Shaw - 3.1-9 - Update upstream URL for package, fixes RHBZ#1487568. - Patch pkgconfig file to correct lib dir, fixes RHBZ#1487575.