[tennix] Fix python flag.

Jon Ciesla limb at fedoraproject.org
Fri Jul 30 13:30:50 UTC 2010


commit 785a2ef44bc2f5951ae0ef662954b854ab35683a
Author: Jon Ciesla <limb at jcomserv.net>
Date:   Fri Jul 30 08:30:36 2010 -0500

    Fix python flag.

 tennix.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tennix.spec b/tennix.spec
index 1f3e862..167ca6d 100644
--- a/tennix.spec
+++ b/tennix.spec
@@ -1,6 +1,6 @@
 Name:           tennix
 Version:        1.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A simple tennis game
 
 Group:          Amusements/Games
@@ -30,7 +30,7 @@ sed -i -e 's/install -m/install -p -m/' makefile
 %patch1 -p0
 
 %build
-CFLAGS="%{optflags}" make LIBS="-lm -lSDL -lSDL_mixer -lSDL_ttf -lSDL_image -lpython2.6"
+CFLAGS="%{optflags}" make LIBS="-lm -lSDL -lSDL_mixer -lSDL_ttf -lSDL_image -lpython2.7"
 # Usage of smp_mflags causes compilation to fail
 # make %{?_smp_mflags}
 
@@ -77,6 +77,9 @@ fi
 %attr(0664,root,games) /usr/share/games/tennix/tennix.tnx
 
 %changelog
+* Fri Jul 30 2010 Jon Ciesla <limb at jcomserv.net> - 1.0-4
+- Fix python flag for 2.7.
+
 * Tue Jul 27 2010 David Malcolm <dmalcolm at redhat.com> - 1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list