commit grpc-httpjson-transcoding for openSUSE:Factory
Hello community, here is the log from the commit of package grpc-httpjson-transcoding for openSUSE:Factory checked in at 2020-01-17 16:07:10 Comparing /work/SRC/openSUSE:Factory/grpc-httpjson-transcoding (Old) and /work/SRC/openSUSE:Factory/.grpc-httpjson-transcoding.new.26092 (New) Package is "grpc-httpjson-transcoding" Fri Jan 17 16:07:10 2020 rev:4 rq:765177 version:20190920 Changes: --- /work/SRC/openSUSE:Factory/grpc-httpjson-transcoding/grpc-httpjson-transcoding.changes 2019-11-12 11:56:39.503422354 +0100 +++ /work/SRC/openSUSE:Factory/.grpc-httpjson-transcoding.new.26092/grpc-httpjson-transcoding.changes 2020-01-17 16:07:42.772506059 +0100 @@ -1,0 +2,7 @@ +Fri Jan 17 09:58:19 UTC 2020 - MichaĆ Rostecki + +- Remove all subpackages except source - envoy-proxy needs the + whole source tree instead of a library and there is no other + consumer of grpc-httpjson-transcoding. + +--- Other differences: -- ++ grpc-httpjson-transcoding.spec ++ --- /var/tmp/diff_new_pack.V89iCi/_old 2020-01-17 16:07:43.156506240 +0100 +++ /var/tmp/diff_new_pack.V89iCi/_new 2020-01-17 16:07:43.156506240 +0100 @@ -1,7 +1,7 @@ # # spec file for package grpc-httpjson-transcoding # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -16,8 +16,6 @@ # -%define sover 0 -%define libname libgrpc-httpjson-transcoding%{sover} %define src_install_dir /usr/src/%{name} Name: grpc-httpjson-transcoding @@ -30,23 +28,7 @@ Source0:%{name}-%{version}.tar.xz Source100: grpc-httpjson-transcoding-rpmlintrc Patch0: 0001-bazel-Update-googleapis-and-do-not-define-custom-BUI.patch -BuildRequires: abseil-cpp-source -BuildRequires: bazel-rules-cc-source -BuildRequires: bazel-rules-go-source -BuildRequires: bazel-rules-java-source -BuildRequires: bazel-rules-proto-source -BuildRequires: bazel-skylib-source -BuildRequires: bazel-workspaces -BuildRequires: bazel0.29 BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: golang-packaging -BuildRequires: googleapis-source -BuildRequires: grpc-source -BuildRequires: patchelf -BuildRequires: protobuf-source -BuildRequires: zlib-devel -BuildRequires: golang(API) >= 1.11 ExcludeArch:%ix86 %description @@ -54,25 +36,6 @@ HTTP/JSON can be converted to gRPC. It allows to provide APIs in both gRPC and REST style at the same time. -%package -n %{libname} -Summary:Library for transcoding HTTP/JSON to gRPC -Group: System/Libraries - -%description -n %{libname} -grpc-httpjson-transcoding is 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. - -%package devel -Summary:Development files for grpc-httpjson-transcoding -Group: Development/Libraries/C and C++ -Requires: %{libname} = %{version} - -%description devel -Development files for 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. - %package source Summary:Source code of grpc-httpjson-transcoding Group: Development/Sources @@ -84,121 +47,18 @@ 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 -# expots them. -# mkdir googleapis -# cp -r /usr/src/googleapis/* googleapis/ - %autosetup -p1 -sed -i -e "s|go_register_toolchains()|go_register_toolchains(\"host\")|" WORKSPACE -# Unit tests in grpc-httpjson-transcoding are not able to use gtest as a shared -# library. We don't run tests in this spec, so let's just get rid of them... -rm test/BUILD - -#sed -i 's|@com_google_absl//absl/strings|//:abseil_strings|g' ./src/BUILD %build -# TODO(mrostecki): Create a macro in bazel package. -bazel build \ --c dbg \ ---color=no \ -%(for opt in %{optflags}; do echo -e "--copt=${opt} \c"; done) \ ---curses=no \ ---override_repository="bazel_skylib=/usr/src/bazel-skylib" \ ---override_repository="com_github_grpc_grpc=/usr/src/grpc" \ ---override_repository="com_google_absl=/usr/src/abseil-cpp" \ ---override_repository="com_google_protobuf=/usr/src/protobuf" \ ---override_repository="googleapis_git=/usr/src/googleapis" \ -
commit grpc-httpjson-transcoding for openSUSE:Factory
Hello community, here is the log from the commit of package grpc-httpjson-transcoding for openSUSE:Factory checked in at 2019-11-12 11:55:36 Comparing /work/SRC/openSUSE:Factory/grpc-httpjson-transcoding (Old) and /work/SRC/openSUSE:Factory/.grpc-httpjson-transcoding.new.2990 (New) Package is "grpc-httpjson-transcoding" Tue Nov 12 11:55:36 2019 rev:3 rq:746573 version:20190920 Changes: --- /work/SRC/openSUSE:Factory/grpc-httpjson-transcoding/grpc-httpjson-transcoding.changes 2019-03-20 13:21:11.737316037 +0100 +++ /work/SRC/openSUSE:Factory/.grpc-httpjson-transcoding.new.2990/grpc-httpjson-transcoding.changes 2019-11-12 11:56:39.503422354 +0100 @@ -1,0 +2,16 @@ +Tue Nov 05 11:59:40 UTC 2019 - mroste...@opensuse.org + +- Update to version 20190920: + * Changed return of ByteCount() to use plain int64_t. + * Relax Base64 Decoding Strict decoding breaks Base64 MIME encodings, which place newlines after a certain number of spaces. MIME encoding is commonly used by Java Clients. + * Update googleapis and protobuf + * Run clang-format + * Make path matcher utility compilable with gcc 4.9 + * Replace std::set with std::unordered_set in path matcher utility + * Make path_matcher.h compile with gcc 4.9 + * Replace std::set with std::unordered_set in path matcher + * Replace a single character string literal with a character +- Add patch which fixes the build with newer googleapis: + * 0001-bazel-Update-googleapis-and-do-not-define-custom-BUI.patch + +--- Old: BUILD WORKSPACE grpc-httpjson-transcoding-20181128.tar.xz repositories.bzl New: 0001-bazel-Update-googleapis-and-do-not-define-custom-BUI.patch grpc-httpjson-transcoding-20190920.tar.xz Other differences: -- ++ grpc-httpjson-transcoding.spec ++ --- /var/tmp/diff_new_pack.8hPokN/_old 2019-11-12 11:56:40.051422938 +0100 +++ /var/tmp/diff_new_pack.8hPokN/_new 2019-11-12 11:56:40.051422938 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,23 +21,32 @@ %define src_install_dir /usr/src/%{name} Name: grpc-httpjson-transcoding -Version:20181128 +Version:20190920 Release:0 Summary:Library for transcoding HTTP/JSON to gRPC License:Apache-2.0 Group: Development/Libraries/C and C++ Url:https://github.com/grpc-ecosystem/%{name} Source0:%{name}-%{version}.tar.xz -Source1:repositories.bzl -Source2:BUILD -Source3:WORKSPACE Source100: grpc-httpjson-transcoding-rpmlintrc -BuildRequires: abseil-cpp-devel -BuildRequires: bazel +Patch0: 0001-bazel-Update-googleapis-and-do-not-define-custom-BUI.patch +BuildRequires: abseil-cpp-source +BuildRequires: bazel-rules-cc-source +BuildRequires: bazel-rules-go-source +BuildRequires: bazel-rules-java-source +BuildRequires: bazel-rules-proto-source +BuildRequires: bazel-skylib-source +BuildRequires: bazel-workspaces +BuildRequires: bazel0.29 +BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: golang-packaging BuildRequires: googleapis-source +BuildRequires: grpc-source BuildRequires: patchelf BuildRequires: protobuf-source +BuildRequires: zlib-devel +BuildRequires: golang(API) >= 1.11 ExcludeArch:%ix86 %description @@ -78,18 +87,16 @@ # Upstream sources of googleapis do not export servicecontrol protobufs for # Bazel builds which use googleapis as a dependency. This custom BUILD file # expots them. -mkdir googleapis -cp -r /usr/src/googleapis/* googleapis/ +# mkdir googleapis +# cp -r /usr/src/googleapis/* googleapis/ -%setup -q -cp %{SOURCE1} . -cp %{SOURCE2} . -cp %{SOURCE3} . +%autosetup -p1 +sed -i -e "s|go_register_toolchains()|go_register_toolchains(\"host\")|" WORKSPACE # Unit tests in grpc-httpjson-transcoding are not able to use gtest as a shared # library. We don't run tests in this spec, so let's just get rid of them... rm test/BUILD -sed -i 's|@com_google_absl//absl/strings|//:abseil_strings|g' ./src/BUILD +#sed -i 's|@com_google_absl//absl/strings|//:abseil_strings|g' ./src/BUILD %build # TODO(mrostecki): Create a macro in bazel package. @@ -98,9 +105,16 @@ --color=no \ %(for opt in %{optflags}; do echo -e "--copt=${opt} \c"; done) \ --curses=no \ ---distdir=%{_sourcedir} \ ---genrule_strategy=standalone \ ---spawn_strategy=standalone \ +--override_repository="bazel_skylib=/usr/src/bazel-skylib" \ +
commit grpc-httpjson-transcoding for openSUSE:Factory
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 + +- 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")