rpms/fillets-ng-data/devel fillets-ng-data-0.7.1-pairs.patch, NONE, 1.1 fillets-ng-data.spec, 1.4, 1.5
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Mon Nov 13 10:17:22 UTC 2006
- Previous message: comps comps-fe5.xml.in, 1.197, 1.198 comps-fe6.xml.in, 1.221, 1.222 comps-fe7.xml.in, 1.20, 1.21
- Next message: fedora-security/audit fc5,1.388,1.389 fc6,1.140,1.141
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: thias
Update of /cvs/extras/rpms/fillets-ng-data/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3409
Modified Files:
fillets-ng-data.spec
Added Files:
fillets-ng-data-0.7.1-pairs.patch
Log Message:
Add pairs patch for lua 5.1 compatilibity (#212920, Ivo Danihelka).
fillets-ng-data-0.7.1-pairs.patch:
--- NEW FILE fillets-ng-data-0.7.1-pairs.patch ---
Index: columns/code.lua
===================================================================
RCS file: /cvsroot/fillets/fillets_data/script/columns/code.lua,v
retrieving revision 1.1
diff -u -r1.1 code.lua
--- columns/code.lua 4 Jul 2004 15:03:14 -0000 1.1
+++ columns/code.lua 31 Oct 2006 18:45:49 -0000
@@ -203,7 +203,7 @@
rada1beg.faze = 0
end,
}
- for index, advice in advices1 do
+ for index, advice in pairs(advices1) do
advice:updateAnim()
end
end
@@ -312,7 +312,7 @@
rada2beg.faze = 0
end,
}
- for index, advice in advices2 do
+ for index, advice in pairs(advices2) do
advice:updateAnim()
end
end
Index: gems/code.lua
===================================================================
RCS file: /cvsroot/fillets/fillets_data/script/gems/code.lua,v
retrieving revision 1.2
diff -u -r1.2 code.lua
--- gems/code.lua 18 Aug 2004 14:50:46 -0000 1.2
+++ gems/code.lua 31 Oct 2006 18:45:50 -0000
@@ -85,7 +85,7 @@
end
return function()
- for key, gem in gems do
+ for key, gem in pairs(gems) do
gem.glob = gem.glob + 1
if isIn(gem.glob, {1, 2, 3}) then
gem.afaze = gem.afaze + 1
Index: share/Pickle.lua
===================================================================
RCS file: /cvsroot/fillets/fillets_data/script/share/Pickle.lua,v
retrieving revision 1.1
diff -u -r1.1 Pickle.lua
--- share/Pickle.lua 26 Jun 2004 00:22:12 -0000 1.1
+++ share/Pickle.lua 31 Oct 2006 18:45:50 -0000
@@ -78,7 +78,7 @@
end
for tnum = 1, table.getn(tables) do
local t = tables[tnum]
- local tcopy = {}; for i, v in t do tcopy[i] = v end
+ local tcopy = {}; for i, v in pairs(t) do tcopy[i] = v end
for i, v in pairs(tcopy) do
local ni, nv
if type(i) == "table" then ni = tables[i[1]] else ni = i end
Index: fillets-ng-data.spec
===================================================================
RCS file: /cvs/extras/rpms/fillets-ng-data/devel/fillets-ng-data.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fillets-ng-data.spec 15 Sep 2006 08:48:18 -0000 1.4
+++ fillets-ng-data.spec 13 Nov 2006 10:16:52 -0000 1.5
@@ -1,11 +1,12 @@
Summary: Game data files for Fish Fillets Next Generation
Name: fillets-ng-data
Version: 0.7.1
-Release: 1
+Release: 2
License: GPL
Group: Amusements/Games
URL: http://fillets.sourceforge.net/
Source: http://dl.sf.net/fillets/fillets-ng-data-%{version}.tar.gz
+Patch0: fillets-ng-data-0.7.1-pairs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: fillets-ng >= 0.6.0
Obsoletes: fillets-ng-data-cs <= 0.6.0
@@ -24,6 +25,9 @@
%prep
%setup -q
+cd script
+%patch0 -p0
+cd ..
%build
@@ -48,6 +52,9 @@
%changelog
+* Fri Nov 10 2006 Matthias Saou <http://freshrpms.net/> 0.7.1-2
+- Add pairs patch for lua 5.1 compatilibity (#212920, Ivo Danihelka).
+
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.7.1-1
- Minor spec file changes.
- Previous message: comps comps-fe5.xml.in, 1.197, 1.198 comps-fe6.xml.in, 1.221, 1.222 comps-fe7.xml.in, 1.20, 1.21
- Next message: fedora-security/audit fc5,1.388,1.389 fc6,1.140,1.141
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list