File sync-fix-doc.patch of Package sync

diff -Ndurp sync/src/sync_notify.erl sync-fix-doc/src/sync_notify.erl
--- sync/src/sync_notify.erl	2018-02-28 03:27:29.000000000 +0200
+++ sync-fix-doc/src/sync_notify.erl	2018-05-29 17:28:21.196285877 +0300
@@ -147,7 +147,7 @@ can_we_notify(GrowlOrLog,MsgType) ->
     end.
 
 %% Return a new string with chars replaced.
-%% @spec replace_chars(iolist(), [{char(), char() | string()}] -> iolist().
+-spec replace_chars(iolist(), [{char(), char() | string()}]) -> iolist().
 replace_chars(String, Tab) ->
     lists:map(fun (C) ->
                       proplists:get_value(C, Tab, C)
@@ -156,7 +156,7 @@ replace_chars(String, Tab) ->
 
 %% Return a new string constructed of source lines double quoted and
 %% delimited by space.
-%% spec lisp_format(StringOfLines :: iolist()) -> string().
+-spec lisp_format(StringOfLines :: iolist()) -> string().
 lisp_format(String0) ->
     String1 = lists:flatten(String0),
     Lines1 = string:tokens(String1, [$\n]),
openSUSE Build Service is sponsored by