Update to 5.1.14

This commit is contained in:
Michel Alexandre Salim 2011-10-06 18:02:26 +02:00
parent 4f3a59fe1a
commit 0e5a211f9c
3 changed files with 18 additions and 8 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
luaposix-5.1.7.tar.bz2
/luaposix-5.1.14.tar.gz

View File

@ -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@fedoraproject.org> - 5.1.14-1
- Update to 5.1.14
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
e7ed42536548ebc109bc1cb73f08b1e9 luaposix-5.1.7.tar.bz2
a06af926a87e8d5e7c5b99304e0371f1 luaposix-5.1.14.tar.gz