diff --git a/monero.spec b/monero.spec index c3e1023..c3ef620 100644 --- a/monero.spec +++ b/monero.spec @@ -3,7 +3,7 @@ Name: monero Version: 0.18.3.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Monero - the secure, private, untraceable cryptocurrency License: MIT @@ -12,6 +12,8 @@ Source0: https://downloads.getmonero.org/cli/%{name}-source-v%{version}.tar.bz2 Source1: https://www.getmonero.org/downloads/hashes.txt Source2: binaryfate.asc +Patch0: set-arch.patch + # for source tarball verification BuildRequires: coreutils BuildRequires: gnupg2 @@ -52,6 +54,9 @@ Summary: Monero wallet Monero CLI wallet %prep +# print host cpu info +cat /proc/cpuinfo + # check PGP signature gpg --import %{SOURCE2} gpg --output binaryfate-keyring.gpg --export binaryfate@getmonero.org @@ -99,6 +104,9 @@ install -m 0755 build/release/bin/* %{buildroot}%{_bindir}/ %{_bindir}/monero-wallet-rpc %changelog +* Sun May 19 2024 zpc +- try to fix runtime error +- print build host cpu info to debug problems * Mon May 13 2024 zpc - try to fix runtime error - remove unused dependency diff --git a/set-arch.patch b/set-arch.patch new file mode 100644 index 0000000..7479850 --- /dev/null +++ b/set-arch.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -89,7 +89,7 @@ + + cmake-release: + mkdir -p $(builddir)/release +- cd $(builddir)/release && cmake -D CMAKE_BUILD_TYPE=Release $(topdir) ++ cd $(builddir)/release && cmake -D CMAKE_BUILD_TYPE=Release -D ARCH=x86_64 $(topdir) + + release: cmake-release + cd $(builddir)/release && $(MAKE)