make sure weechat-curses is created

OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=55
This commit is contained in:
Guido Berhoerster 2014-05-26 21:44:20 +00:00 committed by Git OBS Bridge
parent 235d54be57
commit c1bc37a0ef

View File

@ -160,6 +160,10 @@ pushd build
%makeinstall %makeinstall
popd #build popd #build
# due to an unknown race condition cmake does not always create a compatibility
# symlink
ln -sf %{_bindir}/weechat %{buildroot}%{_bindir}/weechat-curses
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%if 0%{?suse_version} %if 0%{?suse_version}
%suse_update_desktop_file -r "%{name}" Network IRCClient %suse_update_desktop_file -r "%{name}" Network IRCClient