rpms/poker3d/devel poker3d-1.1.36-python26.patch, NONE, 1.1 poker3d.spec, 1.7, 1.8

Christopher Stone xulchris at fedoraproject.org
Wed Dec 3 04:21:12 UTC 2008


Author: xulchris

Update of /cvs/pkgs/rpms/poker3d/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13974/devel

Modified Files:
	poker3d.spec 
Added Files:
	poker3d-1.1.36-python26.patch 
Log Message:
enable python 2.6 support

poker3d-1.1.36-python26.patch:

--- NEW FILE poker3d-1.1.36-python26.patch ---
--- config/python.m4.python26~	2006-07-25 11:59:18.000000000 -0700
+++ config/python.m4	2008-12-02 19:54:21.000000000 -0800
@@ -42,7 +42,7 @@
   dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
   dnl in 1.5.
   m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
-                      [python python2 python2.5 python2.4 python2.3 python2.2 dnl
+                      [python python2 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
 python2.1 python2.0 python1.6 python1.5])
 
   m4_if([$1],[],[
--- config/ccpython.m4.python26~	2006-12-31 03:46:51.000000000 -0800
+++ config/ccpython.m4	2008-12-02 19:56:33.000000000 -0800
@@ -118,7 +118,7 @@
 
 AC_DEFUN([ALL_CC_PYTHON],
 [ 
-m4_define([_AM_PYTHON_INTERPRETER_LIST], [python2.5 python2.4 python2.3])
+m4_define([_AM_PYTHON_INTERPRETER_LIST], [python2.6 python2.5 python2.4 python2.3])
 found_one=''
 _ONE_CC_PYTHON([=2.3], [2_3])
 if test -f "$PYTHON" ; then found_one=$PYTHON ; fi
@@ -128,6 +128,9 @@
 unset PYTHON
 _ONE_CC_PYTHON([=2.5], [2_5])
 if test -f "$PYTHON" ; then found_one=$PYTHON ; fi
+unset PYTHON
+_ONE_CC_PYTHON([=2.6], [2_6])
+if test -f "$PYTHON" ; then found_one=$PYTHON ; fi
 PYTHON=$found_one
 if ! test "$found_one" ; then
    AC_MSG_ERROR([No python development environments found])


Index: poker3d.spec
===================================================================
RCS file: /cvs/pkgs/rpms/poker3d/devel/poker3d.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- poker3d.spec	29 Nov 2008 17:56:26 -0000	1.7
+++ poker3d.spec	3 Dec 2008 04:20:41 -0000	1.8
@@ -3,7 +3,7 @@
 
 Name:           poker3d
 Version:        1.1.36
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Three dimensional multi-user online poker game
 
 Group:          Amusements/Games
@@ -16,6 +16,7 @@
 Patch1:         %{name}-1.1.36-libexec.patch
 Patch2:         %{name}-1.1.36-osg.patch
 Patch3:         %{name}-1.1.36-gcc43.patch
+Patch4:         %{name}-1.1.36-python26.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  ImageMagick desktop-file-utils
@@ -37,6 +38,7 @@
 %patch1 -p0 -b .libexec~
 %patch2 -p0 -b .osg~
 %patch3 -p0 -b .gcc43~
+%patch4 -p0 -b .python26~
 autoreconf --force --install
 
 # Avoid lib64 rpaths
@@ -161,6 +163,9 @@
 
 
 %changelog
+* Tue Dec 02 2008 Christopher Stone <chris.stone at gmail.com> 1.1.36-13
+- Add python26 patch
+
 * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 1.1.36-12
 - Rebuild for Python 2.6
 




More information about the fedora-extras-commits mailing list