!19 first check if Valgrind supports the build architecture

From: @yinist 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2024-05-07 06:29:57 +00:00 committed by Gitee
commit 4915131033
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,15 +2,17 @@
Name: libsecret
Version: 0.20.5
Release: 1
Release: 2
Summary: Library for storing and retrieving passwords and other secrets
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Libsecret
Source0: https://download.gnome.org/sources/libsecret/%{release_version}/libsecret-%{version}.tar.xz
BuildRequires: glib2-devel gobject-introspection-devel intltool vala gettext gi-docgen meson
BuildRequires: libgcrypt-devel >= 1.2.2 libxslt-devel docbook-style-xsl valgrind-devel
BuildRequires: libgcrypt-devel >= 1.2.2 libxslt-devel docbook-style-xsl
%ifarch "%{valgrind_arches}"
BuildRequires: valgrind-devel
%endif
Provides: bundled(egglib)
%description
@ -32,7 +34,9 @@ developing applications that use %{name}.
%prep
%autosetup -p1
%ifarch "%{valgrind_arches}"
rm -rf build/valgrind/
%endif
%build
%meson
@ -68,6 +72,9 @@ rm -rf build/valgrind/
%doc %{_docdir}/libsecret-1
%changelog
* Sun Apr 28 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 0.20.5-2
- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture
* Tue Feb 27 2024 dongyuzhen <dongyuzhen@h-partners.com> - 0.20.5-1
- revert "Update to 0.21.0"