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
This commit is contained in:
Bjørn Lie 2022-02-21 22:32:15 +00:00 committed by Git OBS Bridge
parent 88635814d4
commit a234dcad61
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Feb 21 10:19:36 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <dimstar@opensuse.org>

View File

@ -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