]> git.pld-linux.org Git - packages/grpc.git/commitdiff
- add opencensus-proto-0.3.0.tar.gz as source to avoid downloading on build auto/th/grpc-1.47.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 30 Jun 2022 14:25:38 +0000 (16:25 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 30 Jun 2022 14:25:38 +0000 (16:25 +0200)
grpc.spec

index bbe70d2ec1ee31d1b42528e9a465e71eb488f5a4..20baffe82633a2b8a1275d341ec9c0dcf3da3aa4 100644 (file)
--- a/grpc.spec
+++ b/grpc.spec
@@ -16,6 +16,8 @@ Group:                Libraries
 #Source0Download: https://github.com/grpc/grpc/releases
 Source0:       https://github.com/grpc/grpc/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: ba6736177699865450206452a9ae49e0
+Source1:       https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0/opencensus-proto-0.3.0.tar.gz
+# Source1-md5: 0b208800a68548cbf2d4bff763c050a2
 Patch1:                %{name}-sphinx.patch
 Patch2:                %{name}-x32.patch
 Patch3:                %{name}-libdir.patch
@@ -121,6 +123,9 @@ Dokumentacja API biblioteki Pythona gRPC.
 
 %{__rm} doc/.gitignore
 
+# simulate download_archive result
+%{__tar} xf %{SOURCE1} -C third_party/opencensus-proto --strip-components=1 opencensus-proto-0.3.0/src
+
 %build
 install -d build
 cd build
This page took 0.170639 seconds and 4 git commands to generate.