diff --git a/.gitignore b/.gitignore index 4d187cd..1523821 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -luaposix-5.1.7.tar.bz2 +/luaposix-5.1.14.tar.gz diff --git a/lua-posix.spec b/lua-posix.spec index c49464d..274a296 100644 --- a/lua-posix.spec +++ b/lua-posix.spec @@ -3,17 +3,18 @@ %define luapkgdir %{_datadir}/lua/%{luaver} Name: lua-posix -Version: 5.1.7 -Release: 2%{?dist} +Version: 5.1.14 +Release: 1%{?dist} Summary: A POSIX library for Lua Group: Development/Libraries License: Public Domain URL: http://luaforge.net/projects/luaposix/ -Source0: http://git.alpinelinux.org/cgit/luaposix/snapshot/luaposix-5.1.7.tar.bz2 +Source0: http://luaforge.net/frs/download.php/4848/luaposix-5.1.14.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver} +BuildRequires: ncurses-devel Requires: lua >= %{luaver} %description @@ -25,12 +26,17 @@ to Lua programs. %build -make %{?_smp_mflags} PREFIX=%{_prefix} LUALIB=%{lualibdir} LUABIN=%{_bindir} CFLAGS="%{optflags} -fPIC" +%configure --libdir=%{lualibdir} --datadir=/%{luapkgdir} +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LUALIB=%{lualibdir} +make install DESTDIR=$RPM_BUILD_ROOT + + +%check +make check %clean @@ -39,11 +45,15 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README ChangeLog +%doc README ChangeLog NEWS *.html %{lualibdir}/* +%{luapkgdir}/*.lua %changelog +* Tue Sep 27 2011 Michel Salim - 5.1.14-1 +- Update to 5.1.14 + * Tue Feb 08 2011 Fedora Release Engineering - 5.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index b05a052..c4af1de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e7ed42536548ebc109bc1cb73f08b1e9 luaposix-5.1.7.tar.bz2 +a06af926a87e8d5e7c5b99304e0371f1 luaposix-5.1.14.tar.gz