1
0
opencensus-proto/opencensus-proto.spec

73 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package opencensus-proto
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 741451 from home:mrostecki:branches:devel:kubic - Update to version 0.2.1: * Add grpc-gateway for metrics service. (#205) * Pin bazel version in travis builds (#207) * Update gen-go files (#199) * Add Web JS as a LibraryInfo.Language option (#198) * Set up Python packaging for PyPI release. (#197) * Add tracestate to links. (#191) * Python proto file generator and generated proto files (#196) * Ruby proto file generator and generated proto files (#192) * Add py_proto_library() rules for envoy/api. (#194) * Gradle: Upgrade dependency versions. (#193) * Update release versions for readme. (#189) * Start 0.3.0 development cycle * Update gen-go files. (#187) * Revert "Start 0.3.0 development cycle (#167)" (#183) * Revert optimization for metric descriptor and bucket options for now. (#184) * Constant sampler: add option to always follow the parent's decision. (#182) * Document that all maximum values must be specified. (#181) * Fix typo in bucket bounds. (#178) * Restrict people who can approve reviews. This is to ensure code quality. (#177) * Use bazel cache to make CI faster. (#176) * Add grpc generated files to the idea plugin. (#175) * Add Resource to Span (#174) * time is required (#170) * Upgrade protobuf dependency to v3.6.1.3. (#173) * assume Ok Status when not set (#171) * Minor comments fixes (#160) * Start 0.3.0 development cycle (#167) * Update gen-go files. (#162) * Update releasing instruction. (#163) OBS-URL: https://build.opensuse.org/request/show/741451 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/opencensus-proto?expand=0&rev=3
2019-10-21 09:31:10 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global provider github
%global provider_tld com
%global project census-instrumentation
%global repo opencensus-proto
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
%define src_install_dir /usr/src/%{name}
Name: opencensus-proto
Version: 0.3.0+git.20200721
Release: 0
Summary: Protocol buffers for OpenCensus
License: Apache-2.0
Group: Development/Languages/Golang
URL: https://%{provider_prefix}
Source: %{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: golang-packaging
%{go_provides}
%description
Protocol buffers for OpenCensus - a framework for collecting metrics and
distributed traces from services.
%package source
Summary: Source code of opencensus-proto
Group: Development/Sources
BuildArch: noarch
%description source
Protocol buffers for OpenCensus - a framework for collecting metrics and
distributed traces from services.
This package contains source code for googleapis.
%prep
%setup -q
%build
# TODO: Install go module from gen-go/ directory. It's not trivial, this
# project does not contain the vendor/ dir.
%install
# Install sources
mkdir -p %{buildroot}%{src_install_dir}
tar -xJf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
%files source
%license LICENSE
%doc README.md
%{src_install_dir}
%changelog