fix luaversion to 5.4, delete useless macros

(cherry picked from commit daf1dbeefdad0fcfd69f0107277a97eb67442de5)
This commit is contained in:
wangshuo 2024-04-27 11:37:35 +08:00 committed by openeuler-sync-bot
parent 63459b19b2
commit dacecc23f1

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