diff --git a/adwaita-icon-theme.changes b/adwaita-icon-theme.changes index 20ffa38..0d2a20a 100644 --- a/adwaita-icon-theme.changes +++ b/adwaita-icon-theme.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Feb 21 10:19:36 UTC 2022 - Bjørn Lie + +- Replace Requires(post): gtk3-tools with the 2 following: + + Requires(post): (gtk3-tools if libgtk-3-0) + + Requires(post): (gtk4-tools if libgtk-4-1) + Do this as we want gtk3-tools when building and installing a gtk3 + based package, and gtk4-tools when building and installing a gtk4 + based package. + ------------------------------------------------------------------- Mon Sep 13 07:19:57 UTC 2021 - Dominique Leuenberger diff --git a/adwaita-icon-theme.spec b/adwaita-icon-theme.spec index 13a2afa..966b4c3 100644 --- a/adwaita-icon-theme.spec +++ b/adwaita-icon-theme.spec @@ -1,7 +1,7 @@ # # spec file for package adwaita-icon-theme # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,8 @@ BuildRequires: gtk3-tools >= 3.24.2 BuildRequires: pkgconfig # To make sure the icon theme cache gets generated -Requires(post): gtk3-tools +Requires(post): (gtk3-tools if libgtk-3-0) +Requires(post): (gtk4-tools if libgtk-4-1) Provides: %{name}-devel = %{version}-%{release} BuildArch: noarch