!2 Update to 35.0

Merge pull request !2 from ultra_planet/master
This commit is contained in:
openeuler-ci-bot 2020-08-07 17:44:15 +08:00 committed by Gitee
commit 1ef24db229
3 changed files with 15 additions and 14 deletions

View File

@ -1,38 +1,39 @@
%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0)}
Name: lua-posix
Version: 33.3.1
Release: 12
Version: 35.0
Release: 1
Summary: A POSIX library(including curses) for lua
License: MIT
URL: http://luaforge.net/projects/luaposix/
Source0: https://github.com/luaposix/luaposix/archive/release-v%{version}.tar.gz
BuildRequires: lua-devel ncurses-devel lua-lunit perl-interpreter
Source0: https://github.com/luaposix/luaposix/archive/v%{version}/release-v%{version}.tar.gz
BuildRequires: gcc lua-devel
Requires: lua(abi) = %{luaver}
%description
This is a POSIX binding for LuaJIT, Lua 5.1, 5.2 and 5.3; like most libraries it simply
This is a POSIX binding for LuaJIT, Lua 5.1, 5.2, 5.3 and 5.4; like most libraries it simply
binds to C APIs on the underlying system, so it won't work on non-POSIX systems. However,
it does try to detect the level of POSIX conformance of the underlying system and bind
only available APIs.
%prep
%autosetup -n luaposix-release-v%{version}
%autosetup -n luaposix-%{version}
%build
%configure --libdir=%{_libdir}/lua/%{luaver} --datadir=/%{_datadir}/lua/%{luaver}
%make_build V=1
build-aux/luke CFLAGS="%build_cflags"
%install
%make_install
%check
make V=1 check
build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{_libdir}/lua/%{luaver}
%files
%doc COPYING AUTHORS ChangeLog NEWS README
%{_defaultdocdir}/luaposix/
%license LICENSE
%doc AUTHORS ChangeLog.old NEWS.md README.md
%{_libdir}/lua/%{luaver}/*
%{_datadir}/lua/%{luaver}/*.lua
%{_datadir}/lua/%{luaver}/posix/
%changelog
* Fri Aug 07 2020 lingsheng <lingsheng@huawei.com> - 35.0-1
- Update to 35.0
* Tue Nov 26 2019 Ling Yang <lingyang2@huawei.com> - 33.3.1-12
- Package init

Binary file not shown.

BIN
release-v35.0.tar.gz Normal file

Binary file not shown.