first check if Valgrind supports the architecture
This commit is contained in:
parent
9f308b374d
commit
c25b4679dc
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user