forked from pool/lua-luaexpat
- Switch to multibuild specfile to build against all lua flavors
- update to v1.3.0 * Lua 5.2 support (thanks Tomás Guisasola Gorham) * support for the XmlDecl handler * add parser:getcurrentbytecount() (XML_GetCurrentByteCount) * ability to disable CharacterData merging * Makefile improvements (thanks Vadim Misbakh-Soloviov) - update version 1.2.0 * support for the StartDoctypeDecl handler * add parser:stop() to abort parsing inside a callback - Cleanup spec and create changes file * correct Licence to MIT * fix build for factory by using lua51-devel * fix build for SLE_11 and SLE_11_SP1 * add copyright to spec - rebuild correctly luaexpat on openSUSE 11.2 - build luaexpat on openSUSE 11.2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luaexpat?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
b56f21d928
commit
03cbf0c2d8
5
_multibuild
Normal file
5
_multibuild
Normal file
@@ -0,0 +1,5 @@
|
||||
<multibuild>
|
||||
<package>lua51</package>
|
||||
<package>lua52</package>
|
||||
<package>lua53</package>
|
||||
</multibuild>
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 13 20:05:00 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Switch to multibuild specfile to build against all lua flavors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 17:31:19 UTC 2014 - seiler@b1-systems.de
|
||||
|
@@ -18,28 +18,30 @@
|
||||
#
|
||||
|
||||
|
||||
Name: lua51-luaexpat
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luaexpat
|
||||
Name: %{flavor}-%{mod_name}
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: A SAX XML parser based on the Expat library
|
||||
Url: http://matthewwild.co.uk/projects/luaexpat/
|
||||
Group: Productivity/Networking/Other
|
||||
Source: http://matthewwild.co.uk/projects/luaexpat/luaexpat-%{version}.tar.gz
|
||||
Source: http://matthewwild.co.uk/projects/luaexpat/%{mod_name}-%{version}.tar.gz
|
||||
Patch1: luaexpat-lib.patch
|
||||
BuildRequires: libexpat-devel
|
||||
%if 0%{?suse_version} > 1210
|
||||
BuildRequires: lua51-devel
|
||||
%else
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == ""
|
||||
ExclusiveArch: do_not_build
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
|
||||
%description
|
||||
LuaExpat is a SAX XML parser based on the Expat library.
|
||||
|
||||
%prep
|
||||
%setup -q -n luaexpat-%{version}
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
Reference in New Issue
Block a user