[packages/google-cloud-cpp] - provide googleapis as source to avoid downloading during build
qboosh
qboosh at pld-linux.org
Sat Jul 2 17:11:55 CEST 2022
commit 08fd9e9d33b7626c3109df518ecc9f2a85e6ed43
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 2 17:13:29 2022 +0200
- provide googleapis as source to avoid downloading during build
google-cloud-cpp.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/google-cloud-cpp.spec b/google-cloud-cpp.spec
index 1b6a8e9..de6f881 100644
--- a/google-cloud-cpp.spec
+++ b/google-cloud-cpp.spec
@@ -8,6 +8,9 @@ Group: Libraries
#Source0Download: https://github.com/googleapis/google-cloud-cpp/releases
Source0: https://github.com/googleapis/google-cloud-cpp/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 12829bceb221cfd3e28588262d141cfd
+# see external/googleapis/CMakeLists.txt and cmake/GoogleapisConfig.cmake
+Source1: https://github.com/googleapis/googleapis/archive/c81bb701eb53991d6faf74b2656eaf539261a122.tar.gz
+# Source1-md5: 401142248153b2d1c0c8982beb548cb9
URL: https://github.com/googleapis/google-cloud-cpp
BuildRequires: abseil-cpp-devel >= 20210324.2
BuildRequires: c-ares-devel
@@ -55,6 +58,9 @@ Pliki nagłówkowe bibliotek Google Cloud C++.
%prep
%setup -q
+install -d build/external/googleapis/src
+ln -sf %{SOURCE1} build/external/googleapis/src
+
%build
install -d build
cd build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/google-cloud-cpp.git/commitdiff/08fd9e9d33b7626c3109df518ecc9f2a85e6ed43
More information about the pld-cvs-commit
mailing list