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

Ville Skyttä scop at fedoraproject.org
Sat Jul 12 12:23:36 UTC 2014


commit 912dc786a2d9eda883ecf37ba18c88db641c4590
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jul 12 15:23:50 2014 +0300

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

 erlang-emmap.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/erlang-emmap.spec b/erlang-emmap.spec
index e45487a..7920c2c 100644
--- a/erlang-emmap.spec
+++ b/erlang-emmap.spec
@@ -12,7 +12,7 @@
 
 Name:		erlang-%{realname}
 Version:	0
-Release:	0.7.git%{git_tag}%{?dist}
+Release:	0.8.git%{git_tag}%{?dist}
 Summary:	Erlang mmap interface
 Group:		Development/Languages
 License:	ASL 2.0
@@ -21,6 +21,7 @@ URL:		https://github.com/krestenkrab/emmap
 Source0:	%{upstream}-%{realname}-%{git_tag}.tar.gz
 BuildRequires:	erlang-edown
 BuildRequires:	erlang-rebar
+BuildRequires:	erlang-rpm-macros >= 0.1.4
 # Error:erlang(erlang:load_nif/2) in R12B and older
 Requires:	erlang-erts%{?_isa} >= R13B
 Requires:	erlang-kernel%{?_isa}
@@ -38,7 +39,7 @@ the Erlang memory space.
 
 
 %build
-rebar compile -v
+%rebar_compile
 
 
 %install
@@ -49,7 +50,7 @@ install -p -m 0755 priv/%{realname}_nifs.so %{buildroot}%{_libdir}/erlang/lib/%{
 
 
 %check
-rebar eunit skip_deps=true -v
+%__rebar eunit skip_deps=true -v
 
 
 %files
@@ -63,6 +64,9 @@ rebar eunit skip_deps=true -v
 
 
 %changelog
+* Sat Jul 12 2014 Ville Skyttä <ville.skytta at iki.fi> - 0-0.8.git05ae1bb
+- 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> - 0-0.7.git05ae1bb
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list