summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-23 10:10:59 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-23 10:10:59 +0000
commit2a74523fecdf4a14c3f5a18f1574b7b7e5dace4a (patch)
treee73ffb692be1a9859bdea0c8d482b69cb2eec968
parentb1aae4248d6605cd3a75bf97da08b173ae086b59 (diff)
automatic import of robin-map-devopeneuler24.03_LTS_SP3
-rw-r--r--robin-map-dev.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/robin-map-dev.spec b/robin-map-dev.spec
index 37a85e7..ad2690c 100644
--- a/robin-map-dev.spec
+++ b/robin-map-dev.spec
@@ -3,7 +3,7 @@
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
@@ -16,7 +16,9 @@ Packager: openEuler Builder <builder@openeuler.org>
BuildArch: noarch
BuildRequires: cmake
+BuildRequires: gcc
BuildRequires: gcc-c++
+BuildRequires: make
%description
The robin-map library is a C++ implementation of a fast hash map and hash set
@@ -34,12 +36,12 @@ integration files.
%autosetup -n %{name}-%{version}
%build
-%cmake \
+%cmake -B _build \
-DTSL_ROBIN_MAP_ENABLE_INSTALL=ON
-%cmake_build
+%__cmake --build _build %{?_smp_mflags}
%install
-%cmake_install
+DESTDIR=%{buildroot} %__cmake --install _build
%files
%license LICENSE
@@ -48,5 +50,9 @@ integration files.
%{_datadir}/cmake/tsl-robin-map/
%changelog
+* Wed Sep 23 2026 openEuler Builder <builder@openeuler.org> - 1.4.1-2
+- Fix build: use explicit -B _build with %cmake to avoid %cmake_build
+ looking for non-existent noarch-openEuler-linux-gnu build directory
+
* Wed Sep 23 2026 openEuler Builder <builder@openeuler.org> - 1.4.1-1
- Initial package