Browse Source

pygame change requires to be compliant with naming

Signed-off-by: tuibuilder_pel7x64builder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7x64builder0 6 years ago
parent
commit
c787fb6296
  1. 10
      SPECS/pygame.spec

10
SPECS/pygame.spec

@ -7,7 +7,9 @@ License: LGPLv2+ @@ -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. @@ -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. @@ -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

Loading…
Cancel
Save