Hello community,

here is the log from the commit of package opencensus-cpp for openSUSE:Factory 
checked in at 2020-02-03 11:12:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opencensus-cpp (Old)
 and      /work/SRC/openSUSE:Factory/.opencensus-cpp.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opencensus-cpp"

Mon Feb  3 11:12:25 2020 rev:4 rq:765747 version:0.4.0+git.20190924

Changes:
--------
--- /work/SRC/openSUSE:Factory/opencensus-cpp/opencensus-cpp.changes    
2020-01-08 17:55:24.269667795 +0100
+++ /work/SRC/openSUSE:Factory/.opencensus-cpp.new.26092/opencensus-cpp.changes 
2020-02-03 11:12:39.809825074 +0100
@@ -1,0 +2,46 @@
+Mon Jan 20 10:39:18 UTC 2020 - Michał Rostecki <mroste...@opensuse.org>
+
+- Remove patches which are not needed anymore:
+  * 0001-bazel-Remove-and-add-deps-in-WORKSPACE.patch
+  * 0002-Stackdriver-stats-Return-false-in-matcher-when-type-.patch
+
+-------------------------------------------------------------------
+Fri Jan 17 11:18:31 UTC 2020 - Michał Rostecki <mroste...@opensuse.org>
+
+- Remove all subpackages except source. Envoy-proxy needs
+  opencensus-cpp source tree to build and nothing else consomes
+  opencensus-cpp as a shared library.
+
+-------------------------------------------------------------------
+Thu Jan 09 14:16:25 UTC 2020 - mroste...@opensuse.org
+
+- Update to version 0.4.0+git.20190924:
+  * Add OcAgentOptions override for service_name.
+  * Fix ocagent trace exporter.
+  * Stackdriver stats: resource must uniquely identify a timeseries.
+  * Make default Stackdriver exporter deadlines match opencensus-java.
+  * Fix switch fallthrough warnings.
+  * Add comments about why opencensus_task is added.
+  * Stackdriver stats: improve handling of builtin metrics.
+  * Simplify WORKSPACE file.
+  * Add default cases for view data switch.
+  * Fix BUILD nit: tag_key_test depends on absl/hash.
+  * Remove grpc_java, it's no longer needed by opencensus-proto.
+  * Get rules_apple and apple_support via grpc_deps.
+  * Rename io_opencensus_proto to opencensus_proto to match Envoy.
+  * Build fix.
+  * Make B3 parser more readable.
+  * Update benchmarking docs.
+  * Nit: use the constant.
+  * SpanImpl::name() has to grab a lock and copy the name.
+  * Switch from custom hash_mix to absl::Hash.
+  * Build fix: grpc needs build_bazel_apple_support.
+  * OcAgent: report errors, add to example, add docs.
+  * Add OcAgent Trace Exporter.
+  * Use StubInterface instead of Stub, for mocks.
+  * Add B3 propagation helpers.
+  * Build fix: provide a @bazel_version repository.
+  * Stackdriver stats exporter: make opencensus_task optional.
+  * Add com_google_googleapis to pin_deps.
+
+-------------------------------------------------------------------

Old:
----
  0001-bazel-Remove-and-add-deps-in-WORKSPACE.patch
  0002-Stackdriver-stats-Return-false-in-matcher-when-type-.patch
  opencensus-cpp-0.4.0.obscpio

New:
----
  opencensus-cpp-0.4.0+git.20190924.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ opencensus-cpp.spec ++++++
--- /var/tmp/diff_new_pack.GZoqIV/_old  2020-02-03 11:12:42.045826204 +0100
+++ /var/tmp/diff_new_pack.GZoqIV/_new  2020-02-03 11:12:42.049826206 +0100
@@ -16,74 +16,22 @@
 #
 
 
-%define sover 0
-%define libname lib%{name}%{sover}
 %define src_install_dir /usr/src/%{name}
 
 Name:           opencensus-cpp
-Version:        0.4.0
+Version:        0.4.0+git.20190924
 Release:        0
 Summary:        A stats collection and distributed tracing framework
 License:        Apache-2.0
 Url:            https://github.com/census-instrumentation/opencensus-cpp
 Source:         %{name}-%{version}.tar.xz
-Patch0:         0001-bazel-Remove-and-add-deps-in-WORKSPACE.patch
-Patch1:         0002-Stackdriver-stats-Return-false-in-matcher-when-type-.patch
-BuildRequires:  abseil-cpp-source
-BuildRequires:  bazel-apple-support-source
-BuildRequires:  bazel-rules-apple-source
-BuildRequires:  bazel-rules-cc-source
-BuildRequires:  bazel-rules-go-source
-BuildRequires:  bazel-rules-java-source
-BuildRequires:  bazel-rules-proto-source
-BuildRequires:  bazel-rules-swift-source
-BuildRequires:  bazel-skylib-source
-BuildRequires:  bazel-workspaces
-BuildRequires:  bazel0.29
-BuildRequires:  benchmark-devel
-BuildRequires:  c-ares-devel
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++
-BuildRequires:  git
-BuildRequires:  gmock
-BuildRequires:  googleapis-source
-BuildRequires:  grpc-source
-BuildRequires:  gtest
-BuildRequires:  libcurl-devel
-BuildRequires:  nanopb-source
-BuildRequires:  patchelf
-BuildRequires:  prometheus-cpp-devel
-BuildRequires:  protobuf-source
-BuildRequires:  rapidjson-devel
-BuildRequires:  upb-source
-BuildRequires:  zlib-devel
-BuildRequires:  golang(API) >= 1.10.4
-BuildRequires:  pkgconfig(openssl)
-ExcludeArch:    %ix86
+BuildArch:      noarch
 
 %description
 OpenCensus is a toolkit for collecting application performance and behavior
 data. It currently includes an API for tracing and stats.
 
-%package -n %{libname}
-Summary:        Shared libraries for opencensus-cpp
-
-%description -n %{libname}
-OpenCensus is a toolkit for collecting application performance and behavior
-data. It currently includes an API for tracing and stats.
-
-This package provides shared libraries for opencensus-cpp.
-
-%package devel
-Summary:        Development files for opencensus-cpp
-Requires:       %{libname} = %{version}
-
-%description devel
-OpenCensus is a toolkit for collecting application performance and behavior
-data. It currently includes an API for tracing and stats.
-
-This package provides development files for opencensus-cpp.
-
 %package source
 Summary:        Source code of opencensus-cpp
 
@@ -120,95 +68,29 @@
 )
 EOF
 
+sed -i -e "s|#define OPENCENSUS_VERSION .*|#define OPENCENSUS_VERSION 
\"%{version}\"|" \
+    opencensus/common/version.h
+
+sed -i \
+    -e "/load_civetweb/d" \
+    -e "s|go_register_toolchains()|go_register_toolchains(\"host\")|g" \
+    WORKSPACE
+
 sed -i \
     -e 
"s|@com_github_jupp0r_prometheus_cpp//core|@com_github_jupp0r_prometheus_cpp//:core|"
 \
     -e 
"s|com_github_jupp0r_prometheus_cpp//pull|com_github_jupp0r_prometheus_cpp//:pull|"
 \
     opencensus/exporters/stats/prometheus/BUILD
-find examples/ -type f -name BUILD -exec rm -f {} +
 
 %build
-TARGETS=$(bazel query \
-    --override_repository="bazel_skylib=/usr/src/bazel-skylib" \
-    --override_repository="build_bazel_rules_swift=/usr/src/bazel-rules-swift" 
\
-    
--override_repository="com_github_cares_cares=%{_datadir}/bazel-workspaces/c-ares"
 \
-    --override_repository="com_github_curl=%{_datadir}/bazel-workspaces/curl" \
-    
--override_repository="com_github_google_benchmark=%{_datadir}/bazel-workspaces/benchmark"
 \
-    --override_repository="com_github_grpc_grpc=/usr/src/grpc" \
-    
--override_repository="com_github_jupp0r_prometheus_cpp=%{_datadir}/bazel-workspaces/prometheus-cpp"
 \
-    --override_repository="com_github_nanopb_nanopb=/usr/src/nanopb" \
-    
--override_repository="com_github_tencent_rapidjson=%{_datadir}/bazel-workspaces/rapidjson"
 \
-    --override_repository="com_google_absl=/usr/src/abseil-cpp" \
-    --override_repository="com_google_googleapis=/usr/src/googleapis" \
-    
--override_repository="com_google_googletest=%{_datadir}/bazel-workspaces/googletest"
 \
-    --override_repository="com_google_protobuf=/usr/src/protobuf" \
-    --override_repository="io_bazel_rules_go=/usr/src/bazel-rules-go" \
-    --override_repository="rules_cc=/usr/src/bazel-rules-cc" \
-    --override_repository="rules_go=/usr/src/bazel-rules-go" \
-    --override_repository="rules_java=/usr/src/bazel-rules-java" \
-    --override_repository="upb=/usr/src/upb" \
-    --override_repository="zlib=%{_datadir}/bazel-workspaces/zlib" \
-    '//... except kind(.*test, //...)')
-bazel build \
-    -c dbg \
-    --color=no \
-    --copt=-Wno-error \
-    --curses=no \
-    --host_javabase=@local_jdk//:jdk \
-    --incompatible_use_jdk11_as_host_javabase \
-    --override_repository="bazel_skylib=/usr/src/bazel-skylib" \
-    --override_repository="build_bazel_rules_swift=/usr/src/bazel-rules-swift" 
\
-    
--override_repository="com_github_cares_cares=%{_datadir}/bazel-workspaces/c-ares"
 \
-    --override_repository="com_github_curl=%{_datadir}/bazel-workspaces/curl" \
-    
--override_repository="com_github_google_benchmark=%{_datadir}/bazel-workspaces/benchmark"
 \
-    --override_repository="com_github_grpc_grpc=/usr/src/grpc" \
-    
--override_repository="com_github_jupp0r_prometheus_cpp=%{_datadir}/bazel-workspaces/prometheus-cpp"
 \
-    --override_repository="com_github_nanopb_nanopb=/usr/src/nanopb" \
-    
--override_repository="com_github_tencent_rapidjson=%{_datadir}/bazel-workspaces/rapidjson"
 \
-    --override_repository="com_google_absl=/usr/src/abseil-cpp" \
-    --override_repository="com_google_googleapis=/usr/src/googleapis" \
-    
--override_repository="com_google_googletest=%{_datadir}/bazel-workspaces/googletest"
 \
-    --override_repository="com_google_protobuf=/usr/src/protobuf" \
-    --override_repository="io_bazel_rules_go=/usr/src/bazel-rules-go" \
-    --override_repository="rules_cc=/usr/src/bazel-rules-cc" \
-    --override_repository="rules_go=/usr/src/bazel-rules-go" \
-    --override_repository="rules_java=/usr/src/bazel-rules-java" \
-    --override_repository="upb=/usr/src/upb" \
-    --override_repository="zlib=%{_datadir}/bazel-workspaces/zlib" \
-    --strip=never \
-    --verbose_failures \
-    ${TARGETS}
-bazel shutdown
 
 %install
-for lib in $(find bazel-bin/opencensus -name "*.so" | sort); do
-    lib_basename=$(basename ${lib} | sed -e "s|^lib|libopencensus-cpp-|")
-    install -D -m0755 ${lib} %{buildroot}%{_libdir}/${lib_basename}.%{sover}
-    patchelf --set-soname ${lib_basename}.%{sover} 
%{buildroot}%{_libdir}/${lib_basename}.%{sover}
-    ln -sf ${lib_basename}.%{sover} %{buildroot}%{_libdir}/${lib_basename}
-done
-for header in $(find opencensus -name "*.h"); do
-    install -D -m0644 ${header} %{buildroot}%{_includedir}/${header}
-done
-
-ls
-rm -rf bazel-bin
 mkdir -p %{buildroot}%{src_install_dir}
 cp -r * %{buildroot}%{src_install_dir}
 %fdupes %{buildroot}%{src_install_dir}
 
-%post -n %{libname} -p /sbin/ldconfig
-%postun -n %{libname} -p /sbin/ldconfig
-
-%files -n %{libname}
+%files source
 %license LICENSE
 %doc README.md
-%{_libdir}/lib%{name}*.so.%{sover}
-
-%files devel
-%{_includedir}/opencensus
-%{_libdir}/lib%{name}*.so
-
-%files source
 %{src_install_dir}
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.GZoqIV/_old  2020-02-03 11:12:42.073826218 +0100
+++ /var/tmp/diff_new_pack.GZoqIV/_new  2020-02-03 11:12:42.073826218 +0100
@@ -4,9 +4,8 @@
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>
     <param name="filename">opencensus-cpp</param>
-    <param name="versionformat">@PARENT_TAG@</param>
-    <param name="versionrewrite-pattern">v(.*)</param>
-    <param name="revision">v0.4.0</param>
+    <param name="versionformat">0.4.0+git.%cd</param>
+    <param name="revision">98970f78091ae65b4a029bcf512696ba6d665cf4</param>
   </service>
   <service mode="buildtime" name="tar" />
   <service mode="buildtime" name="recompress">

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.GZoqIV/_old  2020-02-03 11:12:42.093826228 +0100
+++ /var/tmp/diff_new_pack.GZoqIV/_new  2020-02-03 11:12:42.093826228 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/census-instrumentation/opencensus-cpp</param>
-              <param 
name="changesrevision">2b0725c2d0f809351300c634c54e70e0a8c3f4ed</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">98970f78091ae65b4a029bcf512696ba6d665cf4</param></service></servicedata>
\ No newline at end of file

++++++ opencensus-cpp.obsinfo ++++++
--- /var/tmp/diff_new_pack.GZoqIV/_old  2020-02-03 11:12:42.113826238 +0100
+++ /var/tmp/diff_new_pack.GZoqIV/_new  2020-02-03 11:12:42.113826238 +0100
@@ -1,5 +1,5 @@
 name: opencensus-cpp
-version: 0.4.0
-mtime: 1563864655
-commit: 2b0725c2d0f809351300c634c54e70e0a8c3f4ed
+version: 0.4.0+git.20190924
+mtime: 1569295238
+commit: 98970f78091ae65b4a029bcf512696ba6d665cf4
 


Reply via email to