File macros.erlang-rebar of Package erlang-rebar

# Macros for erlang-rebar module building.
#
# Copyright: (c) 2013 Sascha Peilicke <saschpe@gmx.de>
#

# SUSE-style macros:

%__rebar       /usr/bin/rebar

%rebar() \
CFLAGS="${CFLAGS:-%optflags}" \
CXXFLAGS="${CXXFLAGS:-%optflags}" \
FFLAGS="${FFLAGS:-%optflags}" %{__rebar} %* \
%{nil}

%rebar_compile() \
%{rebar} compile -v %* \
%{nil}


# Fedora compat:

%__rebar_compile %{rebar_compile}
openSUSE Build Service is sponsored by