rpms/poker-network/F-7 poker-network-1.2.0-bot.patch, NONE, 1.1 poker-network.spec, 1.5, 1.6

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Thu Oct 4 01:14:15 UTC 2007


Author: xulchris

Update of /cvs/extras/rpms/poker-network/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3305/F-7

Modified Files:
	poker-network.spec 
Added Files:
	poker-network-1.2.0-bot.patch 
Log Message:
fix poker-bot

poker-network-1.2.0-bot.patch:

--- NEW FILE poker-network-1.2.0-bot.patch ---
--- pokernetwork/pokerbot.py~	2007-10-03 17:52:23.000000000 -0700
+++ pokernetwork/pokerbot.py	2007-10-03 17:53:45.000000000 -0700
@@ -239,9 +239,11 @@
             bot.setServiceParent(services)
     for tournament in settings.headerGetProperties("/settings/tournament"):
         for i in range(0, int(tournament["count"])):
+            bots_count += 1
             tournament['tournament'] = True
             factory = PokerBotFactory(settings = settings,
-                                      join_info = tournament)
+                                      join_info = tournament,
+                                      serial = bots_count)
             bot = Bot(host, port, factory)
             factory.bot = bot
             bot.setServiceParent(services)


Index: poker-network.spec
===================================================================
RCS file: /cvs/extras/rpms/poker-network/F-7/poker-network.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- poker-network.spec	3 Oct 2007 21:28:49 -0000	1.5
+++ poker-network.spec	4 Oct 2007 01:13:36 -0000	1.6
@@ -9,7 +9,7 @@
 
 Name:             poker-network
 Version:          1.2.0
-Release:          1%{?dist}
+Release:          2%{?dist}
 Summary:          Base package for poker client and server
 
 Group:            Applications/Internet
@@ -32,6 +32,7 @@
 Source42:         poker-server.if
 
 Patch0:           %{name}-1.0.33-bot.patch
+Patch1:           %{name}-1.2.0-bot.patch
 
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -120,6 +121,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .bot~
+%patch1 -p0 -b .bot~
 
 # prep selinux source files for build
 install -d selinux
@@ -378,6 +380,9 @@
 
 
 %changelog
+* Wed Oct 03 2007 Christopher Stone <chris.stone at gmail.com> 1.2.0-2
+- Add patch to fix poker-bot
+
 * Wed Oct 03 2007 Christopher Stone <chris.stone at gmail.com> 1.2.0-1
 - Upstream sync
 




More information about the fedora-extras-commits mailing list