summaryrefslogtreecommitdiff
path: root/gflags.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-19 08:00:43 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-19 08:00:43 +0000
commitf8bcf7ed41d97b74825dcae48a86d5e044e23beb (patch)
tree89248b4a568e26ef32c50c49629f5409b16515af /gflags.spec
parent3488140358e67934c13c5bd55769edeeaa64b535 (diff)
automatic import of gflags
Diffstat (limited to 'gflags.spec')
-rw-r--r--gflags.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/gflags.spec b/gflags.spec
index 35084fc..03a0450 100644
--- a/gflags.spec
+++ b/gflags.spec
@@ -4,7 +4,7 @@
Name: gflags
Version: 2.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Google Commandline Flags - a C++ library for commandline flag processing
License: BSD-2-Clause
@@ -15,7 +15,9 @@ Group: Development/Libraries
Packager: openEuler Builder <builder@openeuler.org>
BuildRequires: cmake
+BuildRequires: gcc
BuildRequires: gcc-c++
+BuildRequires: make
%description
The gflags package contains a library that implements commandline flags
@@ -37,7 +39,7 @@ developing applications that use %{name}.
%autosetup -n %{name}-%{version}
%build
-%cmake \
+%cmake -B %{_target_platform} \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF \
-DBUILD_TESTING=OFF \
@@ -65,5 +67,8 @@ developing applications that use %{name}.
%{_libdir}/pkgconfig/gflags.pc
%changelog
+* Mon Oct 19 2026 openEuler Builder <builder@openeuler.org> - 2.3.1-2
+- Pass -B %%{_target_platform} to %%cmake so build dir matches %%cmake_build/%%cmake_install expectations on openEuler 24.03
+
* Mon Oct 19 2026 openEuler Builder <builder@openeuler.org> - 2.3.1-1
- Initial package of gflags 2.3.1