From 29f5b7aa71349e87968cc8e6b0f72b3d97f61d9c Mon Sep 17 00:00:00 2001 From: zhangpan Date: Fri, 7 Feb 2025 03:31:58 +0000 Subject: [PATCH] add macros to control if need /usr/bin/xprop (cherry picked from commit 4d1d0f81268eadf2d0d2947d337ce9e6ea3a4456) --- at-spi2-core.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/at-spi2-core.spec b/at-spi2-core.spec index 6bb2c73..6f481dd 100644 --- a/at-spi2-core.spec +++ b/at-spi2-core.spec @@ -1,7 +1,7 @@ #needsrootforbuild Name: at-spi2-core Version: 2.51.0 -Release: 4 +Release: 5 Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project. License: LGPLv2+ @@ -19,10 +19,13 @@ BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xtst) +BuildRequires: gsettings-desktop-schemas Requires: dbus # https://bugzilla.redhat.com/show_bug.cgi?id=2137281 +%if "0%{?product_family}" == "0" Requires: /usr/bin/xprop +%endif %description At-Spi2 is a protocol over DBus, toolkit widgets use it to provide @@ -88,6 +91,8 @@ library. %package help Summary: Help package for %{name} +Requires: man info +Provides: at-spi2-atk-help = %{version}-%{release} Obsoletes: at-spi2-atk-help < %{version}-%{release} %description help @@ -179,6 +184,10 @@ fi %{_docdir}/libatspi %changelog +* Fri Feb 7 2025 zhangpan - 2.51.0-5 +- add macros to control if need /usr/bin/xprop +- at-spi2-core-help package provided at-spi2-atk-help + * Tue Aug 27 2024 yanglu - 2.51.0-4 - Delete obsolete at-spi2-atk-help after the upgrade -- Gitee