Skip to content

Commit

Permalink
Add so-libraries to the list of Erlang files
Browse files Browse the repository at this point in the history
Currently only /usr/lib(64)/erlang/lib/*-*/priv/*.so libs in are
supported (no Ejabberd-style one extra level depth libs).

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
  • Loading branch information
lemenkov committed May 16, 2017
1 parent 872db5f commit 9d8fc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erlang.attr
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#%__erlang_provides %{_rpmconfigdir}/erlang-find-provides -b %{_builddir}/%{buildsubdir}
%__erlang_requires %{_rpmconfigdir}/erlang-find-requires -b %{buildroot} -i %{?_isa} -l %{_libdir}
%__erlang_magic ^Erlang BEAM file$
%__erlang_path ^/usr/lib(64)?/erlang/lib/.*/ebin/.*\\.(beam|app)$
%__erlang_path ^/usr/lib(64)?/erlang/lib/.*/(ebin/.*\\.(beam|app)|priv/.*\\.so)$

0 comments on commit 9d8fc8e

Please sign in to comment.