From d583e03852850be42f76dae57246ff62a77e531356cc09df2f31c78963033e0d Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 9 Jun 2009 16:31:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygame?expand=0&rev=7 --- python-pygame.changes | 6 ++++++ python-pygame.spec | 12 ++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/python-pygame.changes b/python-pygame.changes index f372cd6..ae30471 100644 --- a/python-pygame.changes +++ b/python-pygame.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 4 12:04:09 CEST 2009 - ro@suse.de + +- buildrequires: replace python-numeric by python-numpy + for >= 11.2 + ------------------------------------------------------------------- Fri Mar 20 13:28:17 CET 2009 - matejcik@suse.cz diff --git a/python-pygame.spec b/python-pygame.spec index 40bb3c4..9107eae 100644 --- a/python-pygame.spec +++ b/python-pygame.spec @@ -19,9 +19,14 @@ Name: python-pygame -BuildRequires: SDL_image-devel SDL_mixer-devel SDL_ttf-devel libjpeg-devel libpng-devel python-devel python-numeric xorg-x11 +BuildRequires: SDL_image-devel SDL_mixer-devel SDL_ttf-devel libjpeg-devel libpng-devel python-devel xorg-x11 +%if %suse_version > 1110 +BuildRequires: python-numpy +%else +BuildRequires: python-numeric +%endif Version: 1.8.1 -Release: 4 +Release: 5 Source: pygame-%{version}release.tar.bz2 Source1: README.SuSE Patch0: %{name}-1.8.0-pep353.diff @@ -103,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT %doc %{_docdir}/python-pygame/examples %changelog +* Mon May 04 2009 ro@suse.de +- buildrequires: replace python-numeric by python-numpy + for >= 11.2 * Fri Mar 20 2009 matejcik@suse.cz - (re)added libpng-devel and libjpeg-devel for image format support * Fri Sep 12 2008 matejcik@suse.cz