Update to version 32
This commit is contained in:
parent
77d91d65a3
commit
394b7377a5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/luaposix-5.1.14.tar.gz
|
||||
/lua-posix-5.1.28-8f80582.tar.gz
|
||||
/lua-posix-32-58016bb.tar.gz
|
||||
|
@ -1,18 +1,17 @@
|
||||
%define luaver 5.2
|
||||
%define lualibdir %{_libdir}/lua/%{luaver}
|
||||
%define luapkgdir %{_datadir}/lua/%{luaver}
|
||||
%global commit 8f8058293efd9654e5fc7f7627a04f4db2b56f8f
|
||||
%global commit 58016bbba40b063e8a98a7e9f14acfcd46f103d4
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: lua-posix
|
||||
Version: 5.1.28
|
||||
Release: 2%{?dist}
|
||||
Version: 32
|
||||
Release: 1%{?dist}
|
||||
Summary: A POSIX library for Lua
|
||||
Group: Development/Libraries
|
||||
License: Public Domain
|
||||
URL: http://luaforge.net/projects/luaposix/
|
||||
Source0: https://github.com/luaposix/luaposix/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
||||
Patch0: luaposix-lua-5.2.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver}
|
||||
BuildRequires: ncurses-devel
|
||||
@ -25,7 +24,6 @@ to Lua programs.
|
||||
|
||||
%prep
|
||||
%setup -q -n luaposix-%{commit}
|
||||
%patch0 -p1 -b .lua-52
|
||||
|
||||
%build
|
||||
%configure --libdir=%{lualibdir} --datadir=/%{luapkgdir}
|
||||
@ -46,14 +44,17 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README ChangeLog.old NEWS *.html
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%{_defaultdocdir}/luaposix/
|
||||
%{lualibdir}/*
|
||||
%{luapkgdir}/*.lua
|
||||
%{luapkgdir}/posix/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 4 2014 Orion Poplawski <orion@cora.nwra.com> - 32-1
|
||||
- Update to version 32
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.28-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user