2021-11-02 12:39:10 +00:00
|
|
|
%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0)}
|
|
|
|
%global lualibdir %{_libdir}/lua/%{luaver}
|
|
|
|
%global luapkgdir %{_datadir}/lua/%{luaver}
|
|
|
|
%global commit 58016bbba40b063e8a98a7e9f14acfcd46f103d4
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
Name: lua-posix
|
|
|
|
Version: 35.0
|
2022-04-05 10:31:26 +00:00
|
|
|
Release: 8%{?dist}
|
2021-11-02 12:39:10 +00:00
|
|
|
Summary: A 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}
|
|
|
|
|
2022-03-01 11:55:59 +00:00
|
|
|
# Fixes passing LDFLAGS into the build, in upstream release 35.1
|
|
|
|
# https://github.com/luaposix/luaposix/commit/4788eba65956aa9347bbb5856c9208888a20330b
|
|
|
|
Patch0: propagate_ldflags.patch
|
|
|
|
|
2021-11-02 12:39:10 +00:00
|
|
|
%description
|
|
|
|
This is a POSIX library for Lua which provides access to many POSIX features
|
|
|
|
to Lua programs.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n luaposix-%{version}
|
2022-03-01 11:55:59 +00:00
|
|
|
%patch0 -p1
|
2021-11-02 12:39:10 +00:00
|
|
|
|
|
|
|
%build
|
2022-03-01 11:55:59 +00:00
|
|
|
build-aux/luke CFLAGS="%build_cflags" LDFLAGS="%build_ldflags"
|
2021-11-02 12:39:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{lua_libdir}
|
|
|
|
|
|
|
|
|
|
|
|
#check
|
|
|
|
# Tests require specl which is not yet packaged
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS ChangeLog.old NEWS.md README.md
|
|
|
|
%{lua_libdir}/*
|
|
|
|
%{lua_pkgdir}/posix/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-04-05 10:31:26 +00:00
|
|
|
* Thu Feb 24 2022 Jiri Vanek <jvanek@redhat.com> - 35.0-8
|
|
|
|
- Added tests.yaml
|
|
|
|
- Resolves: rhbz#2058499
|
|
|
|
|
|
|
|
* Thu Feb 24 2022 Jiri Vanek <jvanek@redhat.com> - 35.0-7
|
|
|
|
- Added gating.yaml
|
|
|
|
- Resolves: rhbz#2054488
|
|
|
|
|
2022-03-01 11:55:59 +00:00
|
|
|
* Mon Feb 14 2022 Andrew Hughes <gnu.andrew@redhat.com> - 35.0-6
|
|
|
|
- Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
|
|
|
|
- Add patch from upstream to fix propagation of LDFLAGS into build system.
|
|
|
|
- Resolves: rhbz#2044879
|
|
|
|
|
2021-11-02 12:39:10 +00:00
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 35.0-5
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 35.0-4
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 35.0-3
|
|
|
|
- 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
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Orion Poplawski <orion@nwra.com> - 35.0-1
|
|
|
|
- Update to 35.0
|
|
|
|
|
|
|
|
* Fri Jul 03 2020 Orion Poplawski <orion@nwra.com> - 34.1.1-2
|
|
|
|
- Fix bit32 patch
|
|
|
|
- More lua 5.4 fixes
|
|
|
|
|
|
|
|
* Fri Jul 03 2020 Orion Poplawski <orion@nwra.com> - 34.1.1-1
|
|
|
|
- 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
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-16
|
|
|
|
- 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
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 33.3.1-12
|
|
|
|
- Rebuilt for libcrypt.so.2 (#1666033)
|
|
|
|
|
|
|
|
* 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
|
|
|
|
- Rebuilt for switch to libxcrypt
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 33.3.1-6
|
|
|
|
- Rebuild with binutils fix for ppc64le (#1475636)
|
|
|
|
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Dec 12 2016 Orion Poplawski <orion@cora.nwra.com> - 33.3.1-3
|
|
|
|
- Handle lua and perl not being in buildroots
|
|
|
|
- Use %%license
|
|
|
|
- Cleanup spec
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 33.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 17 2015 Orion Poplawski <orion@cora.nwra.com> - 33.3.1-1
|
|
|
|
- Update to 33.3.1
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 33.2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 26 2015 Orion Poplawski <orion@cora.nwra.com> - 33.2.1-1
|
|
|
|
- Update to 33.2.1
|
|
|
|
|
|
|
|
* Tue Feb 24 2015 Orion Poplawski <orion@cora.nwra.com> - 32-4
|
|
|
|
- Update spec to match packaging draft, rebuild for lua 5.3 (bug #1195707)
|
|
|
|
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 32-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 32-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Sun May 12 2013 Tom Callaway <spot@fedoraproject.org> - 5.1.28-1
|
|
|
|
- update to 5.1.28, lua 5.2
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.14-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.14-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.14-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Sun Aug 15 2010 Tim Niemueller <tim@niemueller.de> - 5.1.7-1
|
|
|
|
- Update to 5.1.7
|
|
|
|
- Add -fPIC to CFLAGS
|
|
|
|
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Dec 22 2008 Tim Niemueller <tim@niemueller.de> - 5.1.4-1
|
|
|
|
- Update to 5.1.4
|
|
|
|
|
|
|
|
* Sat Apr 05 2008 Tim Niemueller <tim@niemueller.de> - 5.1.2-2
|
|
|
|
- Set proper CFLAGS for valid debuginfo
|
|
|
|
|
|
|
|
* Fri Apr 04 2008 Tim Niemueller <tim@niemueller.de> - 5.1.2-1
|
|
|
|
- Initial package
|
|
|
|
|