diff --git a/libyui-gtk.spec b/libyui-gtk.spec index 2f66d6e..c868914 100644 --- a/libyui-gtk.spec +++ b/libyui-gtk.spec @@ -3,7 +3,6 @@ %global libsuffix yui %global libname lib%{libsuffix} %global devel_min_ver 3.0.4 -%global major_so_ver 7 # Setup _pkgdocdir if not defined already. %{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} @@ -13,7 +12,7 @@ Name: %{libname}-gtk Version: 2.44.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Gtk3 User Interface for %{libname} License: LGPLv2 or LGPLv3 @@ -25,7 +24,7 @@ BuildRequires: cmake >= 2.8 BuildRequires: gtk3-devel BuildRequires: %{libname}-devel >= %{devel_min_ver} -Provides: %{libsuffix}-ui%{?_isa} == %{major_so_ver} +Supplements: (libyui%{?_isa} and gtk3%{?_isa} and cairo%{?_isa}) %description This package contains the Gtk3 user interface component @@ -111,7 +110,7 @@ popd %files %doc %dir %{?_pkgdocdir} %license COPYING* -%{_libdir}/%{libsuffix}/%{name}.so.%{major_so_ver}* +%{_libdir}/%{libsuffix}/%{name}.so.%{_libyui_major_so_ver}* %files devel %doc %{?_pkgdocdir}/%{name}.changes @@ -128,6 +127,10 @@ popd %changelog +* Mon Apr 10 2017 Björn Esser - 2.44.8-2 +- Use rich-dependencies instead of virtual provides +- Get major so-ver from macro + * Mon Apr 10 2017 Björn Esser - 2.44.8-1 - New upstream release fixing GTK-warnings