rpms/lua-lunit/F-12 lua-lunit-0.4-myerror.patch, NONE, 1.1 lua-lunit.spec, 1.1, 1.2
Michel Alexandre Salim
salimma at fedoraproject.org
Mon Oct 19 04:04:30 UTC 2009
Author: salimma
Update of /cvs/pkgs/rpms/lua-lunit/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15100/F-12
Modified Files:
lua-lunit.spec
Added Files:
lua-lunit-0.4-myerror.patch
Log Message:
* Mon Oct 19 2009 Michel Salim <salimma at fedoraproject.org> - 0.4-2
- Patch out the use of non-existent myerror fn
lua-lunit-0.4-myerror.patch:
lunit.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE lua-lunit-0.4-myerror.patch ---
--- a/lunit.lua
+++ b/lunit.lua
@@ -595,7 +595,7 @@ function main(argv)
end
local chunk, err = loadfile(filename)
if err then
- myerror(err)
+ return error(err)
else
chunk()
end
Index: lua-lunit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lua-lunit/F-12/lua-lunit.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- lua-lunit.spec 25 Sep 2009 02:20:17 -0000 1.1
+++ lua-lunit.spec 19 Oct 2009 04:04:30 -0000 1.2
@@ -3,13 +3,15 @@
Name: lua-lunit
Version: 0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Unit testing framework for Lua
Group: Development/Libraries
License: MIT
URL: http://nessie.de/mroth/lunit/index.html
Source0: http://nessie.de/mroth/lunit/lunit-%{version}.tar.gz
+# http://repo.or.cz/w/lunit.git?a=commit;h=e30764d7d344991dc4b956df794df29693a138ca
+Patch0: %{name}-0.4-myerror.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# for running tests
@@ -30,6 +32,7 @@ of approximately 710 assertions.
%prep
%setup -q -n lunit-%{version}
+%patch0 -p0 -b .myerror
%build
@@ -61,5 +64,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Oct 19 2009 Michel Salim <salimma at fedoraproject.org> - 0.4-2
+- Patch out the use of non-existent myerror fn
+
* Thu Sep 10 2009 Michel Salim <salimma at fedoraproject.org> - 0.4-1
- Initial package
More information about the fedora-extras-commits
mailing list