SHA256
10
0
forked from pool/lua-luaexpat

Accepting request 998614 from devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/998614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luaexpat?expand=0&rev=7
This commit is contained in:
2022-08-23 12:26:06 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 9 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Aug 21 03:38:58 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>
- Replace deprecated %makeinstall with %make_install
-------------------------------------------------------------------
Sat Aug 20 18:56:29 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>
- Update to version 1.4.1:
* Fix bad buffer size calculation in threat parser
* Improved Lua version support (5.1 - 5.4)
* Fix memory leak when callbacks reference a parser object
* etc. https://github.com/lunarmodules/luaexpat/releases/tag/1.4.0
-------------------------------------------------------------------
Thu Aug 12 14:22:20 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package lua-luaexpat
# spec file
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2009 florian.leparoux@gmail.com
# Copyright (c) 2012 Togan Muftuoglu toganm@opensuse.org
#
@@ -20,13 +20,13 @@
%define flavor @BUILD_FLAVOR@
%define mod_name luaexpat
Version: 1.3.0
Version: 1.4.1
Release: 0
Summary: A SAX XML parser based on the Expat library
License: MIT
Group: Productivity/Networking/Other
URL: http://matthewwild.co.uk/projects/luaexpat/
Source: http://matthewwild.co.uk/projects/luaexpat/%{mod_name}-%{version}.tar.gz
Source: https://github.com/lunarmodules/luaexpat/archive/%{version}/%{mod_name}-%{version}.tar.gz
BuildRequires: %{flavor}-devel
BuildRequires: libexpat-devel
Requires: %{flavor}
@@ -53,14 +53,14 @@ make %{?_smp_mflags} \
CFLAGS="%{optflags} -DLUA_32BITS -std=gnu11"
%install
%makeinstall \
%make_install \
PREFIX="%{_prefix}" \
LUA_CDIR="%{lua_archdir}" \
LUA_LDIR="%{lua_noarchdir}"
%files
%defattr(-,root,root)
%doc doc/us/license.html
%license LICENSE
%{lua_archdir}/lxp.so
%{lua_noarchdir}/lxp

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3
size 29567

3
luaexpat-1.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d528060d45865b44bef7215ef8a440165b668f363a4af53358389f0315a8593c
size 52159