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.
This commit is contained in:
parent
6dcd06da69
commit
b388529034
@ -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}.
|
||||
|
Loading…
Reference in New Issue
Block a user