From a234dcad61164e44f98fc9a29c6578a841324b61ab74298ead9d643867835518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 21 Feb 2022 22:32:15 +0000 Subject: [PATCH] Accepting request 956463 from home:iznogood:branches:GNOME:Factory Add same fix as in GN OBS-URL: https://build.opensuse.org/request/show/956463 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/adwaita-icon-theme?expand=0&rev=75 --- adwaita-icon-theme.changes | 10 ++++++++++ adwaita-icon-theme.spec | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) 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