robert pushed to lua-expat (epel7). "New upstream release."

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 24 22:24:02 UTC 2015


>From 73e37fb3bf184c0e39b96562adabc1242566fbbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl at redhat.com>
Date: Fri, 3 Jun 2011 18:38:30 +0200
Subject: New upstream release.


diff --git a/.gitignore b/.gitignore
index 982c763..9979c37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 luaexpat-1.1.tar.gz
+/luaexpat-1.2.0.tar.gz
diff --git a/lua-expat.spec b/lua-expat.spec
index a62271e..6bf7624 100644
--- a/lua-expat.spec
+++ b/lua-expat.spec
@@ -3,14 +3,14 @@
 %define luapkgdir %{_datadir}/lua/%{luaver}
 
 Name:           lua-expat
-Version:        1.1
-Release:        5%{?dist}
+Version:        1.2.0
+Release:        1%{?dist}
 Summary:        SAX XML parser based on the Expat library
 
 Group:          Development/Libraries
 License:        MIT
 URL:            http://www.keplerproject.org/luaexpat/
-Source0:        http://luaforge.net/frs/download.php/2469/luaexpat-1.1.tar.gz
+Source0:        http://matthewwild.co.uk/projects/luaexpat/luaexpat-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  lua >= %{luaver}, lua-devel >= %{luaver}
@@ -25,7 +25,7 @@ LuaExpat is a SAX XML parser based on the Expat library.
 
 
 %build
-make %{?_smp_mflags} PREFIX=%{_prefix} LUA_LIBDIR=%{lualibdir} LUA_DIR=%{luapkgdir} LUA_INC=%{_includedir} EXPAT_INC=%{_includedir} CFLAGS="%{optflags} -fPIC" LUA_VERSION_NUM=501
+make %{?_smp_mflags} PREFIX=%{_prefix} LUA_LIBDIR=%{lualibdir} LUA_DIR=%{luapkgdir} LUA_INC=%{_includedir} EXPAT_INC=%{_includedir} CFLAGS="%{optflags} -fPIC"  LUA_VERSION_NUM=501
 /usr/bin/iconv -f ISO8859-1 -t UTF8 README >README.UTF8
 mv -f README.UTF8 README
 
@@ -39,8 +39,8 @@ make install PREFIX=%{_prefix} LUA_LIBDIR=%{buildroot}%{lualibdir} LUA_DIR=%{bui
 pushd src
 ln -s lxp.so.* lxp.so
 popd
-lua -e 'package.cpath=package.cpath .. ";./src/?.so"; f = loadfile("tests/test.lua"); f()'
-lua -e 'package.cpath=package.cpath .. ";./src/?.so"; package.path=package.path .. ";./src/?.lua"; f = loadfile("tests/test-lom.lua"); f()'
+lua -e 'package.cpath="./src/?.so;"..package.cpath; dofile("tests/test.lua");'
+lua -e 'package.cpath=";./src/?.so" .. package.cpath; package.path=";./src/?.lua" .. package.path; dofile("tests/test-lom.lua");'
 
 %clean
 rm -rf %{buildroot}
@@ -54,6 +54,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jun 03 2011 Matěj Cepl <mcepl at redhat.com> - 1.2-1
+- New upstream release, fixing "The Billion Laughs Attack" for XMPP servers.
+- Fix tests so that we actually pass them.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index a7b9101..01c1424 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6ecb895ccf5cff1e7f2facd438b1f8d0  luaexpat-1.1.tar.gz
+03efe50c7f30a34580701e6527d7bfee  luaexpat-1.2.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/lua-expat.git/commit/?h=epel7&id=73e37fb3bf184c0e39b96562adabc1242566fbbf


More information about the scm-commits mailing list