[packages/sparsehash] - rel 2, fix arch macro

baggins baggins at pld-linux.org
Sat Mar 28 23:32:33 CET 2026


commit 70bef1f4b52e9a6dff7739005410e44d6e504215
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 29 00:32:15 2026 +0100

    - rel 2, fix arch macro

 sparsehash.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sparsehash.spec b/sparsehash.spec
index 3330f0a..b734f51 100644
--- a/sparsehash.spec
+++ b/sparsehash.spec
@@ -6,7 +6,7 @@ Summary:	C++ associative containers
 Summary(pl.UTF-8):	Kontenery asocjacyjne dla C++
 Name:		sparsehash
 Version:	2.0.4
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Libraries
 #Source0Download: https://github.com/sparsehash/sparsehash/releases
@@ -20,7 +20,7 @@ BuildRequires:	sed >= 4.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%if %{_host_cpu} == "x32"
+%ifarch x32
 %define build_arch %{_target_platform}
 %else
 %define build_arch %{_host}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sparsehash.git/commitdiff/70bef1f4b52e9a6dff7739005410e44d6e504215



More information about the pld-cvs-commit mailing list