pygame change requires to be compliant with naming

Signed-off-by: tuibuilder_pel7x64builder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7x64builder0 2019-06-30 11:56:26 +02:00
parent b3b5601d0b
commit c787fb6296
1 changed files with 7 additions and 3 deletions

View File

@ -7,7 +7,9 @@ License: LGPLv2+
URL: http://www.pygame.org
Source0: https://files.pythonhosted.org/packages/source/e/pygame/pygame-%{version}.tar.gz

BuildRequires: python2-devel python2-numpy
BuildRequires: python2-devel
#python2-numpy
BuildRequires: numpy
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-numpy python%{python3_pkgversion}-Cython
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: SDL_ttf-devel SDL_image-devel SDL_mixer-devel
@ -27,7 +29,9 @@ operating system.

%package -n python2-pygame
Summary: %summary
Requires: gnu-free-sans-fonts python2-numpy
Requires: gnu-free-sans-fonts
#Requires: python2-numpy
Requires: numpy
%{?python_provide:%python_provide python2-pygame}
Provides: pygame

@ -45,7 +49,7 @@ pygame.

%package -n python3-pygame
Summary: Python3 modules for writing games
Requires: gnu-free-sans-fonts python%{python3_pkgversion}-numpy
Requires: gnu-free-sans-fonts python3-numpy
%{?python_provide:%python_provide python%{python3_pkgversion}-pygame}

%description -n python3-pygame