commit c3bab084a6e03f70b1509e5bd24328dd9468964e Author: Ville Skyttä ville.skytta@iki.fi Date: Sat Jul 12 15:14:05 2014 +0300
Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely
erlang-ebloom.spec | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) --- diff --git a/erlang-ebloom.spec b/erlang-ebloom.spec index 0f86602..6011f3d 100644 --- a/erlang-ebloom.spec +++ b/erlang-ebloom.spec @@ -12,7 +12,7 @@
Name: erlang-%{realname} Version: 1.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A NIF wrapper around a basic bloom filter Group: Development/Languages # c_src/bloom_filter.hpp and c_src/serialyzer.hpp are licensed under CPL @@ -22,6 +22,7 @@ URL: https://github.com/basho/ebloom # wget --content-disposition https://github.com/basho/ebloom/tarball/1.1.1 Source0: %{upstream}-%{realname}-%{version}-0-g%{git_tag}.tar.gz BuildRequires: erlang-rebar +BuildRequires: erlang-rpm-macros >= 0.1.4 # erlang:load_nif/2 Requires:erlang-erts%{?_isa} >= R14B Requires:erlang-kernel%{?_isa} @@ -38,7 +39,7 @@ A NIF wrapper around a basic bloom filter.
%build -CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" rebar compile -v +%rebar_compile
%install @@ -48,7 +49,7 @@ install -p -m 0755 -D priv/%{realname}_nifs.so %{buildroot}%{_libdir}/erlang/lib
%check -rebar eunit -v +%__rebar eunit -v
%files @@ -61,6 +62,9 @@ rebar eunit -v
%changelog +* Sat Jul 12 2014 Ville Skyttä ville.skytta@iki.fi - 1.1.2-4 +- Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely + * Sat Jun 07 2014 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
erlang@lists.fedoraproject.org