[erlang-js] Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely

Ville Skyttä scop at fedoraproject.org
Sat Jul 12 12:26:47 UTC 2014


commit 2de48ab192e0eb9dc853104b069687939a6d1b60
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jul 12 15:27:03 2014 +0300

    Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely

 erlang-js.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/erlang-js.spec b/erlang-js.spec
index e5f3fc3..72d5129 100644
--- a/erlang-js.spec
+++ b/erlang-js.spec
@@ -9,7 +9,7 @@
 
 Name:		erlang-js
 Version:	1.2.2
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	A Friendly Erlang to Javascript Binding
 Group:		Development/Libraries
 License:	ASL 2.0
@@ -24,6 +24,7 @@ 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
 BuildRequires:	js-devel
 Requires:	erlang-erts%{?_isa} >= R12B-5
@@ -53,7 +54,7 @@ rm -f c_src/nsprpub-4.8.tar.gz
 
 
 %build
-rebar compile -v
+%rebar_compile
 
 
 %install
@@ -66,7 +67,7 @@ install -m 755 priv/%{realname}_drv.so $RPM_BUILD_ROOT%{_libdir}/erlang/lib/%{re
 
 
 %check
-rebar eunit -v
+%__rebar eunit -v
 
 
 %files
@@ -85,6 +86,9 @@ rebar eunit -v
 
 
 %changelog
+* Sat Jul 12 2014 Ville Skyttä <ville.skytta at iki.fi> - 1.2.2-5
+- Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.2-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list