[erlang-cl] Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely
Ville Skyttä
scop at fedoraproject.org
Sat Jul 12 12:12:24 UTC 2014
commit 1aa5081497343dff6d73356df7ff1aaedd9f004d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jul 12 15:12:39 2014 +0300
Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely
erlang-cl.spec | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/erlang-cl.spec b/erlang-cl.spec
index 72f5395..17657b6 100644
--- a/erlang-cl.spec
+++ b/erlang-cl.spec
@@ -9,7 +9,7 @@
Name: erlang-%{realname}
Version: 1.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: OpenCL binding for Erlang
Group: Development/Languages
License: MIT
@@ -21,6 +21,7 @@ Source0: https://github.com/tonyrog/cl/archive/%{realname}-%{version}.tar.gz
# Fedora-specific - adds proper version instead of "git"
Patch1: erlang-cl-0001-Fix-version.patch
BuildRequires: erlang-rebar
+BuildRequires: erlang-rpm-macros >= 0.1.4
BuildRequires: opencl-headers
BuildRequires: ocl-icd-devel
# Error:erlang(erlang:load_nif/2) in R13B and earlier
@@ -40,10 +41,10 @@ OpenCL binding for Erlang.
%build
-rebar compile -v
+%rebar_compile
# FIXME Something is wrong with doc generation - we should work with upstream
# on this
-#rebar doc -v
+#__rebar doc -v
%install
@@ -56,7 +57,7 @@ install -p -m 0755 priv/%{realname}_nif.so %{buildroot}%{_libdir}/erlang/lib/%{r
%check
# Can't pass autotests for now due to limited OpenCL support in Fedora (?)
-#rebar eunit -v
+#__rebar eunit -v
%files
@@ -72,6 +73,9 @@ install -p -m 0755 priv/%{realname}_nif.so %{buildroot}%{_libdir}/erlang/lib/%{r
%changelog
+* Sat Jul 12 2014 Ville Skyttä <ville.skytta at iki.fi> - 1.2.1-3
+- 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.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list