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