[lua-posix] Update to 5.1.14

Michel Alexandre Salim salimma at fedoraproject.org
Thu Oct 6 16:04:00 UTC 2011


commit 0e5a211f9c0ee3226ca69beab29f3ad93fe2c984
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Oct 6 18:02:26 2011 +0200

    Update to 5.1.14

 .gitignore     |    2 +-
 lua-posix.spec |   22 ++++++++++++++++------
 sources        |    2 +-
 3 files changed, 18 insertions(+), 8 deletions(-)
---
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 <salimma at fedoraproject.org> - 5.1.14-1
+- Update to 5.1.14
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 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


More information about the scm-commits mailing list