From b388529034f97efad5befe046937d80e7bd4ed4b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Dec 23 2017 22:46:02 +0000 Subject: Move py2 %python_provide to correct location and add for py3 It needs to be after BuildArch:noarch to work properly. The one for Python 3 was missing completely. --- diff --git a/liblouis.spec b/liblouis.spec index f980191..c5bd792 100644 --- a/liblouis.spec +++ b/liblouis.spec @@ -75,13 +75,13 @@ are intended for testing liblouis and for debugging tables. None of them is suitable for braille transcription. %package -n python2-louis -%{?python_provide:%python_provide python2-louis} Summary: Python 2 language bindings for %{name} Group: Development/Languages BuildArch: noarch Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-python < 2.6.2-3 Provides: %{name}-python = %{version}-%{release} +%{?python_provide:%python_provide python2-louis} %description -n python2-louis This package provides Python 2 language bindings for %{name}. @@ -94,6 +94,7 @@ BuildArch: noarch Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-python3 < 2.6.2-3 Provides: %{name}-python3 = %{version}-%{release} +%{?python_provide:%python_provide python3-louis} %description -n python3-louis This package provides Python 3 language bindings for %{name}.