10
0

- Switch to multibuild syntax

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-messagepack?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2017-07-13 18:48:44 +00:00
committed by Git OBS Bridge
parent 04509b8602
commit e3c4d9eacd
3 changed files with 17 additions and 6 deletions

5
_multibuild Normal file
View File

@@ -0,0 +1,5 @@
<multibuild>
<package>lua51</package>
<package>lua52</package>
<package>lua53</package>
</multibuild>

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 13 18:49:06 UTC 2017 - tchvatal@suse.com
- Switch to multibuild syntax
-------------------------------------------------------------------
Thu Jul 13 18:43:33 UTC 2017 - tchvatal@suse.com

View File

@@ -16,8 +16,9 @@
#
%define flavor @BUILD_FLAVOR@
%define mod_name MessagePack
Name: lua-%{mod_name}
Name: %{flavor}-%{mod_name}
Version: 0.3.3
Release: 0
Summary: MessagePack is an efficient binary serialization format
@@ -25,18 +26,18 @@ License: MIT
Group: Development/Libraries/Other
Url: http://fperrad.github.io/lua-MessagePack/
Source: https://github.com/fperrad/lua-MessagePack/archive/%{version}.tar.gz
BuildRequires: lua-devel
Requires: lua
BuildRequires: %{flavor}-devel
Requires: %{flavor}
BuildArch: noarch
%if "%{flavor}" == ""
ExclusiveArch: do_not_build
%endif
%description
MessagePack is an efficient binary serialization format.
It lets you exchange data among multiple languages like JSON but it's faster and
smaller.
It's a pure Lua implementation, without dependency.
And it's really fast with LuaJIT.
%prep