From f8bcf7ed41d97b74825dcae48a86d5e044e23beb Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 19 Oct 2026 08:00:43 +0000 Subject: automatic import of gflags --- gflags.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gflags.spec') 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 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 - 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 - 2.3.1-1 - Initial package of gflags 2.3.1 -- cgit v1.2.3