update to 2.1.1716656478 [release 2.1.1716656478-1mamba;Mon May 27 2024]

This commit is contained in:
Silvan Calarco 2024-05-28 00:16:55 +02:00
parent 0ad7e2b140
commit 98e0f4c0d7

View File

@ -1,7 +1,7 @@
%define pkgver %(echo %version | tr '~' -)
%define apiver %(echo %version | cut -d. -f1-2)
Name: luajit
Version: 2.1.0~beta3
Version: 2.1.1716656478
Release: 1mamba
Summary: A Just-In-Time Compiler for Lua
Group: Applications/Development
@ -9,8 +9,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://luajit.org/luajit.html
Source: https://github.com/LuaJIT/LuaJIT/archive/v%{pkgver}.tar.gz
#Source: https://luajit.org/download/LuaJIT-%{version}.tar.gz
Source: https://github.com/LuaJIT/LuaJIT/archive/refs/heads/v2.1/%{name}-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -38,11 +37,10 @@ Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n LuaJIT-%{pkgver}
%setup -q -n LuaJIT-%{apiver}
%build
%make amalg \
@ -59,8 +57,6 @@ This package contains libraries and header files for developing applications tha
DESTDIR=%{buildroot} \
MULTILIB=%{_lib}
ln -s luajit-%{pkgver} %{buildroot}%{_bindir}/luajit
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -70,10 +66,10 @@ ln -s luajit-%{pkgver} %{buildroot}%{_bindir}/luajit
%files
%defattr(-,root,root)
%{_bindir}/luajit
%{_bindir}/luajit-%{pkgver}
%dir %{_datadir}/luajit-%{pkgver}
%dir %{_datadir}/luajit-%{pkgver}/jit
%{_datadir}/luajit-%{pkgver}/jit/*.lua
%{_bindir}/luajit-%{version}
%dir %{_datadir}/luajit-%{apiver}
%dir %{_datadir}/luajit-%{apiver}/jit
%{_datadir}/luajit-%{apiver}/jit/*.lua
%{_mandir}/man1/%{name}*
%files -n lib%{name}
@ -86,10 +82,14 @@ ln -s luajit-%{pkgver} %{buildroot}%{_bindir}/luajit
%dir %{_includedir}/luajit-%{apiver}
%{_includedir}/luajit-%{apiver}/*.h
%{_includedir}/luajit-%{apiver}/lua.hpp
%{_libdir}/libluajit-5.1.so
%{_libdir}/libluajit-5.1.a
%{_libdir}/pkgconfig/luajit.pc
%changelog
* Mon May 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1716656478-1mamba
- update to 2.1.1716656478
* Thu Oct 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0~beta3-1mamba
- update to 2.1.0~beta3