From 98e0f4c0d7cee47f8130f83411611cfeb009e92a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 28 May 2024 00:16:55 +0200 Subject: [PATCH] update to 2.1.1716656478 [release 2.1.1716656478-1mamba;Mon May 27 2024] --- luajit.spec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/luajit.spec b/luajit.spec index 2717e47..7f81d3e 100644 --- a/luajit.spec +++ b/luajit.spec @@ -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 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 2.1.1716656478-1mamba +- update to 2.1.1716656478 + * Thu Oct 14 2021 Silvan Calarco 2.1.0~beta3-1mamba - update to 2.1.0~beta3