Fix build (fix by Wolfgang)

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=135
This commit is contained in:
Luca Beltrame 2017-07-12 13:52:44 +00:00 committed by Git OBS Bridge
parent 43112b34c6
commit 06b7e41c4e

View File

@ -53,6 +53,7 @@ HSpell, Enchant, ASpell and HUNSPELL.
%package -n libKF5SonnetCore%sonum
Summary: KDE spell checking library
Group: System/GUI/KDE
Recommends: %{name} = %{version}
Obsoletes: libKF5SonnetCore4
%if %{with lang}
Recommends: libKF5SonnetCore%sonum-lang = %{version}
@ -67,6 +68,7 @@ HSpell, Enchant, ASpell and HUNSPELL.
%package -n libKF5SonnetUi%sonum
Summary: KDE spell checking library
Group: System/GUI/KDE
Recommends: %{name} = %{version}
%requires_ge libQt5Gui5
%requires_ge libQt5Widgets5
%requires_ge libKF5SonnetCore5
@ -117,6 +119,11 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files.
%files -n libKF5SonnetCore%sonum-lang -f %{name}5.lang
%endif
%files
%defattr(-,root,root)
%doc COPYING* README*
%config %{_kf5_configdir}/sonnet.categories
%files -n libKF5SonnetCore%sonum
%defattr(-,root,root)
%doc COPYING*