From ae03808c04c7ec9ffc1f904819977dad4ec79726 Mon Sep 17 00:00:00 2001 From: Yangyang Shen Date: Fri, 14 Aug 2020 20:27:55 +0800 Subject: [PATCH] Modify macro of luaver for bumping version of lua --- lua-expat.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lua-expat.spec b/lua-expat.spec index cfe66a3..4e5209d 100644 --- a/lua-expat.spec +++ b/lua-expat.spec @@ -1,10 +1,11 @@ -%define luaver 5.3.5 +# this macro is needed for bumping version of lua +%global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0) %define lualibdir %{_libdir}/lua/%{luaver} %define luapkgdir %{_datadir}/lua/%{luaver} Name: lua-expat Version: 1.3.0 -Release: 18 +Release: 19 Summary: A SAX XML parser based on the Expat library License: MIT URL: http://www.keplerproject.org/luaexpat/ @@ -56,6 +57,12 @@ lua -e 'package.cpath="./src/?.so;" .. package.cpath; package.path="./src/?.lua; %doc doc/us/* %changelog +* Fri Aug 14 2020 shenyangyang - 1.3.0-19 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Modify macro of luaver for bumping version of lua + * Wed Aug 12 2020 wenzhanli - 1.3.0-18 - Type:bugfix - ID:NA -- Gitee