move gtk3 only to tests sub-package

mutter doesn't need gtk3 anymore but its testing system still requires
it. Moving the dependency to the tests subpackage only.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=2177077
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
This commit is contained in:
Sandro Bonazzola 2023-07-12 10:01:52 +02:00
parent d9c9f8da92
commit 9badd5c9ae

View File

@ -87,7 +87,6 @@ BuildRequires: pkgconfig(xwayland)
Requires: control-center-filesystem Requires: control-center-filesystem
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version} Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
Requires: gnome-settings-daemon Requires: gnome-settings-daemon
Requires: gtk3%{?_isa} >= %{gtk3_version}
Requires: gtk4%{?_isa} >= %{gtk4_version} Requires: gtk4%{?_isa} >= %{gtk4_version}
Requires: json-glib%{?_isa} >= %{json_glib_version} Requires: json-glib%{?_isa} >= %{json_glib_version}
Requires: libinput%{?_isa} >= %{libinput_version} Requires: libinput%{?_isa} >= %{libinput_version}
@ -129,6 +128,7 @@ utilities for testing Metacity/Mutter themes.
%package tests %package tests
Summary: Tests for the %{name} package Summary: Tests for the %{name} package
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gtk3%{?_isa} >= %{gtk3_version}
%description tests %description tests
The %{name}-tests package contains tests that can be used to verify The %{name}-tests package contains tests that can be used to verify