fix luaversion to 5.4, delete useless macros

This commit is contained in:
wangshuo 2024-04-27 11:37:35 +08:00
parent 63459b19b2
commit daf1dbeefd

View File

@ -1,13 +1,11 @@
Name: lua-json
Version: 1.3.4
Release: 1
Release: 2
License: MIT
Summary: JSON Parser/Constructor for Lua
%define luaversion 5.3
%define luaversion 5.4
%define luapkgdir %{_datadir}/lua/%{luaversion}
%global commitid 7a86bc22066858afeb23845a191a6ab680b46233
%global shortid %(c=%{commitid}; echo ${c:0:7})
URL: http://github.com/harningt/luajson/
Source0: https://github.com/harningt/luajson/archive/refs/tags/%{version}.tar.gz
@ -39,6 +37,9 @@ make check-regression
%{luapkgdir}/*
%changelog
* Mon May 06 2024 wangshuo <wangshuo@kylinos.cn> - 1.3.4-2
- fix luaversion to 5.4, delete useless macros
* Mon Jun 27 2022 dillon chen <dillon.chen@gmail.com> -1.3.4-1
- update to 1.3.4