Modify macro of luaver for bumping version of lua

This commit is contained in:
Yangyang Shen 2020-08-14 20:27:55 +08:00
parent 5d603cb9a6
commit ae03808c04

View File

@ -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<shenyangyang4@huawei.com> - 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<wenzhanli2@huawei.com> - 1.3.0-18
- Type:bugfix
- ID:NA