!6 fix luaversion to 5.4, delete useless macros

From: @fuowang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-05-13 10:36:19 +00:00 committed by Gitee
commit 96f5903f50
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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