Blame 0001-Allow-ignoring-missing-deps.patch

2cba62
From: Peter Lemenkov <lemenkov@gmail.com>
2cba62
Date: Mon, 7 Mar 2016 16:51:03 +0300
2cba62
Subject: [PATCH] Allow ignoring missing deps
2cba62
2cba62
Some deps cannot be satisfied (upstream requires %appname%-1.8.2 while we
2cba62
provide %appname%-1.8.3). So let's allow ignoring this.
2cba62
2cba62
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2cba62
2cba62
diff --git a/macros.erlang b/macros.erlang
2cba62
index b956ced..778ff92 100644
2cba62
--- a/macros.erlang
2cba62
+++ b/macros.erlang
2cba62
@@ -12,7 +12,8 @@
2cba62
 	FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
2cba62
 	%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
2cba62
 	VSN="%{version}" ; export VSN ; \
2cba62
-	%__rebar compile -vv
2cba62
+	IGNORE_MISSING_DEPS="TRUE" ; export IGNORE_MISSING_DEPS ; \
2cba62
+	%__rebar compile skip_deps=true -vv
2cba62
 # deprecated backwards compatibility
2cba62
 %__rebar_compile %rebar_compile
2cba62