summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-28 10:22:59 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-28 10:22:59 +0000
commit08258733597e57a8ff2dc0c3746956b14417f158 (patch)
treec940b6be775b7ef0a49bab63a2815e0dc2f14b76
parent4a50c8ff98fffbf87a4201bc9f78d911ffd4de24 (diff)
automatic import of robin-map-devopeneuler24.03_LTS_SP3
-rw-r--r--robin-map-dev.spec17
-rw-r--r--sources2
2 files changed, 13 insertions, 6 deletions
diff --git a/robin-map-dev.spec b/robin-map-dev.spec
index 37a85e7..b320d08 100644
--- a/robin-map-dev.spec
+++ b/robin-map-dev.spec
@@ -3,12 +3,12 @@
Name: robin-map-dev
Version: 1.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A C++ fast hash map and hash set using robin hood hashing
License: MIT
URL: https://github.com/Tessil/robin-map
-# GitHub tag archive; #/ anchor forces spectool save name to %{name}-%{version}.tar.gz
+# GitHub tag archive; #/ anchor forces spectool save name to %%{name}-%%{version}.tar.gz
Source0: https://github.com/Tessil/robin-map/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Group: Development/Libraries
@@ -34,12 +34,15 @@ integration files.
%autosetup -n %{name}-%{version}
%build
-%cmake \
+mkdir -p build
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DTSL_ROBIN_MAP_ENABLE_INSTALL=ON
-%cmake_build
+cmake --build build %{?_smp_build_ncpus:-j%{_smp_build_ncpus}}
%install
-%cmake_install
+DESTDIR=%{buildroot} cmake --install build
%files
%license LICENSE
@@ -48,5 +51,9 @@ integration files.
%{_datadir}/cmake/tsl-robin-map/
%changelog
+* Mon Sep 28 2026 openEuler Builder <builder@openeuler.org> - 1.4.1-2
+- Replace %cmake/%cmake_build/%cmake_install macros with explicit cmake
+ commands to fix macro mismatch (%cmake in-source vs %cmake_build out-of-tree)
+
* Wed Sep 23 2026 openEuler Builder <builder@openeuler.org> - 1.4.1-1
- Initial package
diff --git a/sources b/sources
index d44d997..ea6e22e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b8ebeaba9e93e24d7b76a6dfffb80d9 robin-map-dev-1.4.1.tar.gz
+a404e6b3a3a34bb92090bc2b11ff250f robin-map-dev-1.4.1.tar.gz