[tennix] 2.7 patch.
Jon Ciesla
limb at fedoraproject.org
Fri Jul 30 14:01:13 UTC 2010
commit 72d5d930419bbf1232bae19f37f9b48a6ca63fda
Author: Jon Ciesla <limb at jcomserv.net>
Date: Fri Jul 30 09:00:56 2010 -0500
2.7 patch.
tennix-1.0-python27.patch | 11 +++++++++++
tennix.spec | 7 +++++--
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/tennix-1.0-python27.patch b/tennix-1.0-python27.patch
new file mode 100644
index 0000000..7ba5496
--- /dev/null
+++ b/tennix-1.0-python27.patch
@@ -0,0 +1,11 @@
+--- makefile~ 2010-07-30 08:56:43.000000000 -0500
++++ makefile 2010-07-30 08:58:46.424185161 -0500
+@@ -38,7 +38,7 @@
+ CFLAGS += -std=c99 -W -Wall -ansi -pedantic -Wcast-qual -Wwrite-strings -DVERSION=\"$(RELEASE)\" -O2 -DPREFIX=\"$(PREFIX)\" -g
+
+ USE_PYTHON ?= 1
+-PYTHON_VERSION = 2.5
++PYTHON_VERSION = 2.7
+
+ ifeq ($(USE_PYTHON),1)
+ CFLAGS += -I/usr/include/python$(PYTHON_VERSION)/ -DTENNIX_PYTHON
diff --git a/tennix.spec b/tennix.spec
index 167ca6d..0b05d1e 100644
--- a/tennix.spec
+++ b/tennix.spec
@@ -1,13 +1,13 @@
Name: tennix
Version: 1.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A simple tennis game
Group: Amusements/Games
License: GPLv2+
URL: http://icculus.org/tennix/
Source0: http://icculus.org/tennix/releases/%{name}-%{version}.tar.gz
-Patch0: tennix-1.0-python26.patch
+Patch0: tennix-1.0-python27.patch
Patch1: tennix-1.0-tnxpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -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-5
+- Correct makefile for 2.7.
+
* Fri Jul 30 2010 Jon Ciesla <limb at jcomserv.net> - 1.0-4
- Fix python flag for 2.7.
More information about the scm-commits
mailing list