Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
4
.gitignore
vendored
4
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
SOURCES/release-v33.3.1.tar.gz
|
/luaposix-*.tar.gz
|
||||||
|
/release-*.tar.gz
|
||||||
|
/lua-posix-*.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
200d9a6e0b0a62b2705e3405c99e5c5e70bfd8ce SOURCES/release-v33.3.1.tar.gz
|
|
@ -1,61 +1,58 @@
|
|||||||
%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0)}
|
* Mon Feb 14 2022 Andrew Hughes <gnu.andrew@redhat.com> - 35.0-6
|
||||||
%global lualibdir %{_libdir}/lua/%{luaver}
|
- Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
|
||||||
%global luapkgdir %{_datadir}/lua/%{luaver}
|
- Add patch from upstream to fix propagation of LDFLAGS into build system.
|
||||||
%global commit 58016bbba40b063e8a98a7e9f14acfcd46f103d4
|
|
||||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
||||||
|
|
||||||
Name: lua-posix
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 35.0-5
|
||||||
Version: 33.3.1
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
Release: 9%{?dist}
|
|
||||||
Summary: A POSIX library for Lua
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: MIT
|
|
||||||
URL: http://luaforge.net/projects/luaposix/
|
|
||||||
Source0: https://github.com/luaposix/luaposix/archive/release-v%{version}.tar.gz
|
|
||||||
BuildRequires: lua-devel
|
|
||||||
BuildRequires: ncurses-devel
|
|
||||||
BuildRequires: lua-lunit
|
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
||||||
Requires: lua(abi) = %{luaver}
|
|
||||||
%else
|
|
||||||
Requires: lua >= %{luaver}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 35.0-4
|
||||||
This is a POSIX library for Lua which provides access to many POSIX features
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
to Lua programs.
|
|
||||||
|
|
||||||
%prep
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 35.0-3
|
||||||
%setup -q -n luaposix-release-v%{version}
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 35.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
%build
|
* Fri Jul 10 2020 Orion Poplawski <orion@nwra.com> - 35.0-1
|
||||||
%configure --libdir=%{lualibdir} --datadir=/%{luapkgdir}
|
- Update to 35.0
|
||||||
make V=1 %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
* Fri Jul 03 2020 Orion Poplawski <orion@nwra.com> - 34.1.1-2
|
||||||
|
- Fix bit32 patch
|
||||||
|
- More lua 5.4 fixes
|
||||||
|
|
||||||
%install
|
* Fri Jul 03 2020 Orion Poplawski <orion@nwra.com> - 34.1.1-1
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
- Update to 34.1.1 (bz#1849450)
|
||||||
|
|
||||||
|
* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 33.3.1-17
|
||||||
|
- hack this ancient beastie to work with lua 5.4
|
||||||
|
- maintainer, please update this to the current upstream release at your earliest convenience
|
||||||
|
|
||||||
%check
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-16
|
||||||
make V=1 check
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 22 2020 Owen Taylor <otaylor@redhat.com> - 33.3.1-15
|
||||||
|
- Use RPM macros from lua-devel
|
||||||
|
|
||||||
%files
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-14
|
||||||
%license COPYING
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
%doc AUTHORS ChangeLog NEWS README
|
|
||||||
%{_defaultdocdir}/luaposix/
|
|
||||||
%{lualibdir}/*
|
|
||||||
%{luapkgdir}/*.lua
|
|
||||||
%{luapkgdir}/posix/
|
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
%changelog
|
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 33.3.1-12
|
||||||
* Fri Jul 20 2018 Bastien Nocera <bnocera@redhat.com> - 33.3.1-9
|
- Rebuilt for libcrypt.so.2 (#1666033)
|
||||||
+ lua-posix-33.3.1-9
|
|
||||||
- Correct License field, it's MIT, not Public Domain
|
* Wed Jul 25 2018 Bastien Nocera <bnocera@redhat.com> - 33.3.1-11
|
||||||
|
+ lua-posix-33.3.1-11
|
||||||
|
- Correct License field, it's been MIT since 2011, not
|
||||||
|
Public Domain (#1605203)
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 33.3.1-8
|
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 33.3.1-8
|
||||||
- Rebuilt for switch to libxcrypt
|
- Rebuilt for switch to libxcrypt
|
51
lua-posix.spec
Normal file
51
lua-posix.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
# Tests require specl which is not yet packaged
|
||||||
|
%bcond_with check
|
||||||
|
|
||||||
|
Name: lua-posix
|
||||||
|
Version: 36.2.1
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: POSIX library for Lua
|
||||||
|
License: MIT
|
||||||
|
URL: http://luaforge.net/projects/luaposix/
|
||||||
|
Source0: https://github.com/luaposix/luaposix/archive/v%{version}/lua-posix-%{version}.tar.gz
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: lua-devel
|
||||||
|
%{?lua_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a POSIX library for Lua which provides access to many POSIX features
|
||||||
|
to Lua programs.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n luaposix-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
build-aux/luke CFLAGS="%build_cflags" LDFLAGS="%build_ldflags"
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{lua_libdir}
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
lua -e \
|
||||||
|
'package.cpath="%{buildroot}%{lua_libdir}/?.so;"..package.cpath;
|
||||||
|
package.path="%{buildroot}%{lua_pkgdir}/?.lua;"..package.path;
|
||||||
|
local posix = require("posix.errno"); print("Hello from "..posix.version.."!");'
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
lua ./spec/spec_helper.lua
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc AUTHORS NEWS.md README.md
|
||||||
|
%{lua_libdir}/*
|
||||||
|
%{lua_pkgdir}/posix/
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%autochangelog
|
Loading…
Reference in New Issue
Block a user