Hello community,
here is the log from the commit of package grpc-httpjson-transcoding for
openSUSE:Factory checked in at 2019-03-20 13:21:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grpc-httpjson-transcoding (Old)
and /work/SRC/openSUSE:Factory/.grpc-httpjson-transcoding.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grpc-httpjson-transcoding"
Wed Mar 20 13:21:10 2019 rev:2 rq:686694 version:20181128
Changes:
--------
---
/work/SRC/openSUSE:Factory/grpc-httpjson-transcoding/grpc-httpjson-transcoding.changes
2019-03-11 11:15:10.941344303 +0100
+++
/work/SRC/openSUSE:Factory/.grpc-httpjson-transcoding.new.28833/grpc-httpjson-transcoding.changes
2019-03-20 13:21:11.737316037 +0100
@@ -1,0 +2,6 @@
+Mon Mar 18 11:36:32 UTC 2019 - Michal Rostecki <[email protected]>
+
+- Add source package, which is needed to fix envoy-proxy.
+ (boo#1129568)
+
+-------------------------------------------------------------------
New:
----
grpc-httpjson-transcoding-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ grpc-httpjson-transcoding.spec ++++++
--- /var/tmp/diff_new_pack.itkub4/_old 2019-03-20 13:21:14.537315347 +0100
+++ /var/tmp/diff_new_pack.itkub4/_new 2019-03-20 13:21:14.573315338 +0100
@@ -1,7 +1,7 @@
#
# spec file for package grpc-httpjson-transcoding
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
%define sover 0
%define libname libgrpc-httpjson-transcoding%{sover}
+%define src_install_dir /usr/src/%{name}
Name: grpc-httpjson-transcoding
Version: 20181128
@@ -30,6 +31,7 @@
Source1: repositories.bzl
Source2: BUILD
Source3: WORKSPACE
+Source100: grpc-httpjson-transcoding-rpmlintrc
BuildRequires: abseil-cpp-devel
BuildRequires: bazel
BuildRequires: gcc-c++
@@ -62,6 +64,16 @@
transcoding so that HTTP/JSON can be converted to gRPC. It allows to provide
APIs in both gRPC and REST style at the same time.
+%package source
+Summary: Source code of grpc-httpjson-transcoding
+Group: Development/Sources
+BuildArch: noarch
+
+%description source
+Source code of grpc-httpjson-transcoding - a library that supports transcoding
+so that HTTP/JSON can be converted to gRPC. It allows to provide APIs in both
+gRPC and REST style at the same time.
+
%prep
# Upstream sources of googleapis do not export servicecontrol protobufs for
# Bazel builds which use googleapis as a dependency. This custom BUILD file
@@ -134,6 +146,16 @@
install -D -m0644 src/include/$header %{buildroot}%{_includedir}/$header
done
+# Install sources
+mkdir -p %{buildroot}%{src_install_dir}
+tar -xf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
+pushd %{buildroot}%{src_install_dir}
+sed -i 's|@com_google_absl//absl/strings|//:abseil_strings|g' ./src/BUILD
+cp %{SOURCE1} .
+cp %{SOURCE2} .
+cp %{SOURCE3} .
+popd
+
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
@@ -166,4 +188,7 @@
%{_libdir}/libresponse_to_json_translator.so
%{_libdir}/libtype_helper.so
+%files source
+%{src_install_dir}
+
%changelog
++++++ grpc-httpjson-transcoding-rpmlintrc ++++++
# This is a source package and /usr/src is a correct path to install files.
addFilter("grpc-httpjson-transcoding-source.* suse-filelist-forbidden-fhs23")
# This is a source package, it's fine to have hidden files.
addFilter("grpc-httpjson-transcoding-source.* hidden-file-or-dir")