Hello community,

here is the log from the commit of package prometheus-client-model for 
openSUSE:Factory checked in at 2019-11-15 00:17:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/prometheus-client-model (Old)
 and      /work/SRC/openSUSE:Factory/.prometheus-client-model.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "prometheus-client-model"

Fri Nov 15 00:17:25 2019 rev:2 rq:748654 version:20190109

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/prometheus-client-model/prometheus-client-model.changes
  2019-01-24 14:10:48.339542979 +0100
+++ 
/work/SRC/openSUSE:Factory/.prometheus-client-model.new.26869/prometheus-client-model.changes
       2019-11-15 00:17:26.796009596 +0100
@@ -1,0 +2,6 @@
+Wed Nov  6 16:39:55 UTC 2019 - MichaƂ Rostecki <[email protected]>
+
+- Add BUILD and WORKSPACE files to allow to build
+  prometheus-client-model with Bazel.
+
+-------------------------------------------------------------------

New:
----
  BUILD
  WORKSPACE

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

Other differences:
------------------
++++++ prometheus-client-model.spec ++++++
--- /var/tmp/diff_new_pack.wu2rPW/_old  2019-11-15 00:17:27.592009320 +0100
+++ /var/tmp/diff_new_pack.wu2rPW/_new  2019-11-15 00:17:27.592009320 +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/
 #
 
 
@@ -25,7 +25,9 @@
 License:        Apache-2.0
 Group:          Development/Libraries/Cross
 Url:            https://github.com/prometheus/client_model
-Source:         %{name}-%{version}.tar.xz
+Source0:        %{name}-%{version}.tar.xz
+Source1:        BUILD
+Source2:        WORKSPACE
 BuildRequires:  fdupes
 
 %description
@@ -45,6 +47,8 @@
 
 %prep
 %setup -q
+cp %{SOURCE1} .
+cp %{SOURCE2} .
 
 %build
 # TODO: If anyone will be interested in prometheus-client-model libraries for
@@ -52,7 +56,7 @@
 
 %install
 mkdir -p %{buildroot}%{src_install_dir}
-tar -xJf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
+cp -r * %{buildroot}%{src_install_dir}
 
 %fdupes %{buildroot}%{src_install_dir}
 

++++++ BUILD ++++++
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")

api_proto_library(
    name = "client_model",
    srcs = [
        "metrics.proto",
    ],
    visibility = ["//visibility:public"],
)

go_proto_library(
    name = "client_model_go_proto",
    importpath = "client_model",
    proto = ":client_model",
    visibility = ["//visibility:public"],
)
++++++ WORKSPACE ++++++
workspace(name = "prometheus_metrics_model")

Reply via email to