From 13563f0c64899ed3ad1b2e7692c0cb51fac29c16 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Jun 27 2019 10:57:37 +0000 Subject: Megaco examples depends on wxWidgets Signed-off-by: Peter Lemenkov --- diff --git a/erlang.spec b/erlang.spec index d725096..ceb17e2 100644 --- a/erlang.spec +++ b/erlang.spec @@ -1239,7 +1239,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \ %{_libdir}/erlang/lib/eunit-*/examples/ %{_libdir}/erlang/lib/inets-*/examples/ %{_libdir}/erlang/lib/kernel-*/examples/ +%if %{__with_wxwidgets} %{_libdir}/erlang/lib/megaco-*/examples/ +%endif %{__with_wxwidgets} %{_libdir}/erlang/lib/mnesia-*/examples/ %if %{__with_wxwidgets} %{_libdir}/erlang/lib/observer-*/examples/