commit 5625196168f57839b2ee2335eaec4a22ebc4e0ca Author: Peter Lemenkov lemenkov@gmail.com Date: Tue Nov 4 11:08:31 2014 +0300
Rebuild with Erlang 17.3.3
Signed-off-by: Peter Lemenkov lemenkov@gmail.com
erlang-js.spec | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) --- diff --git a/erlang-js.spec b/erlang-js.spec index eb6aa99..63f47d7 100644 --- a/erlang-js.spec +++ b/erlang-js.spec @@ -9,14 +9,12 @@
Name: erlang-js Version: 1.2.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A Friendly Erlang to Javascript Binding Group: Development/Libraries License: ASL 2.0 URL: https://github.com/basho/erlang_js -%if 0%{?el7}%{?fedora} VCS: scm:git:https://github.com/basho/erlang_js.git -%endif Source0: https://github.com/basho/erlang_js/archive/%%7Bversion%7D/%%7Brealname%7D-%%... # Fedora-specific Patch1: erlang-js-0001-Fix-building-of-linked-in-driver.patch @@ -24,8 +22,6 @@ Patch1: erlang-js-0001-Fix-building-of-linked-in-driver.patch Patch2: erlang-js-0002-build-fix-for-js-1.8.5.patch # Fedora-specific Patch3: erlang-js-0003-Use-mochiweb-instead-of-a-bundled-copies.patch -# EPEL-specific -Patch9999: erlang-js-0002-Build-with-js-1.7.0.patch BuildRequires: erlang-rebar BuildRequires: erlang-rpm-macros >= 0.1.4 BuildRequires: erlang-mochiweb @@ -47,12 +43,8 @@ A Friendly Erlang to Javascript Binding.
rm -f c_src/js-1.8.0-rc1.tar.gz rm -f c_src/nsprpub-4.8.tar.gz -%if 0%{?fedora} -%patch2 -p1 -b .building_with_js_1_8_5 -%else -%patch9999 -p1 -b .building_with_js_1_7_0 -%endif
+%patch2 -p1 -b .building_with_js_1_8_5 %patch3 -p1 -b .use_globally_available_mochiweb
@@ -89,6 +81,9 @@ install -m 755 priv/%{realname}_drv.so $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{re
%changelog +* Tue Nov 04 2014 Peter Lemenkov lemenkov@gmail.com - 1.2.2-8 +- Rebuild with Erlang 17.3.3 + * Thu Aug 28 2014 Peter Lemenkov lemenkov@gmail.com - 1.2.2-7 - Rebuild with Erlang 17.2.1