update to 1.3.0 and fix builds for newer erlang versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-erlang_js?expand=0&rev=2
This commit is contained in:
Nico Kruber
2016-02-26 11:06:13 +00:00
committed by Git OBS Bridge
parent 806e925cf0
commit 429cbc7720
8 changed files with 72 additions and 18 deletions

View File

@@ -16,7 +16,7 @@
#
Name: erlang-erlang_js
Version: 1.2.2
Version: 1.3.0
Release: 1
Summary: Linked-in driver for Erlang to Mozilla's Spidermonkey Javascript runtime
License: Apache-2.0
@@ -24,7 +24,9 @@ Group: Development/Libraries/Other
URL: https://github.com/basho/erlang_js
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: erlang_js-%{version}.tar.gz
Patch1: erlang_js-1.2.2-debuginfo.patch
Patch1: erlang_js-1.3.0-debuginfo.patch
Patch2: erlang_js-1.3.0-fix-version.patch
Patch3: erlang_js-1.3.0-fix-newer-builds.patch
Requires: erlang >= R13B04
BuildRequires: erlang-rebar
BuildRequires: gcc-c++
@@ -56,6 +58,8 @@ erlang_js builds and executes only on Unix-based platforms, including Linux, Mac
%prep
%setup -q -n erlang_js-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%__make all docs