SHA256
10
0
forked from pool/lua-luaposix

Accepting request 941406 from devel:languages:lua

- Update to version 35.1:
  * Support AF_PACKET socket family, where available.
  * Support SIGINFO, SIGWINCH and SA_RESTART, where available.
  * Documentation cleanups
- avoid setting build USER tag
- Use %ifluadefault
- Clean spec file

OBS-URL: https://build.opensuse.org/request/show/941406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaposix?expand=0&rev=10
This commit is contained in:
2021-12-18 19:30:19 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 18 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Dec 18 14:54:13 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to version 35.1:
* Support AF_PACKET socket family, where available.
* Support SIGINFO, SIGWINCH and SA_RESTART, where available.
* Documentation cleanups
- avoid setting build USER tag
- Use %ifluadefault
- Clean spec file
-------------------------------------------------------------------
Wed Jan 27 15:56:08 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@@ -16,26 +16,26 @@
#
%define flavor @BUILD_FLAVOR@
%define flavor @BUILD_FLAVOR@%{nil}
%define mod_name luaposix
Version: 35.0
Release: 0
Summary: POSIX library for Lua
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/luaposix/luaposix
Source0: https://github.com/luaposix/luaposix/archive/v%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: ncurses-devel
BuildRequires: perl
Requires: %{flavor}
%lua_provides
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
%else
Name: %{flavor}-%{mod_name}
%endif
Version: 35.1
Release: 0
Summary: POSIX library for Lua
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/luaposix/luaposix
Source0: https://github.com/luaposix/luaposix/archive/v%{version}/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: ncurses-devel
BuildRequires: perl
Requires: %{flavor}
%lua_provides
%description
This is a POSIX library for Lua which provides access to many POSIX features
@@ -50,9 +50,11 @@ BuildArch: noarch
This package contains the documentation for %{flavor}-luaposix.
%prep
%setup -q -n luaposix-%{version}
%autosetup -n luaposix-%{version}
%build
# avoid setting USER tag
export USER=""
build-aux/luke PREFIX=%{_prefix} all
%install
@@ -66,7 +68,7 @@ build-aux/luke PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{lua_archd
%{lua_noarchdir}/posix
# Only produce docs during one flavor to avoid duplicate binary.
%if "%{flavor}" == "lua53"
%ifluadefault
%files -n %{mod_name}-doc
%doc doc/*
%endif

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4edf2f715feff65acb009e8d1689e57ec665eb79bc36a6649fae55eafd56809
size 178091

BIN
luaposix-35.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.