!49 [sync] PR-47: add macros to control if need /usr/bin/xprop

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2025-02-27 01:10:24 +00:00 committed by Gitee
commit 752966265a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhangpan103@h-partners.com> - 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 <yanglu72@h-partners.com> - 2.51.0-4
- Delete obsolete at-spi2-atk-help after the upgrade