1
0

Accepting request 666640 from home:mrostecki

- Initial version 20180523

OBS-URL: https://build.opensuse.org/request/show/666640
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/opencensus-proto?expand=0&rev=1
This commit is contained in:
Jordi Massaguer 2019-01-17 10:01:26 +00:00 committed by Git OBS Bridge
commit 4a73826660
7 changed files with 123 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/census-instrumentation/opencensus-proto</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">opencensus-proto</param>
<param name="versionformat">%cd</param>
<param name="revision">ab82e5fdec8267dc2a726544b10af97675970847</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/census-instrumentation/opencensus-proto</param>
<param name="changesrevision">ab82e5fdec8267dc2a726544b10af97675970847</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b71851d3843638d3d215964d6c9a2b9a8ed177da672fa5690b239d19b053e4c
size 77596

4
opencensus-proto.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Jan 10 16:44:22 UTC 2019 - Michał Rostecki <mrostecki@suse.de>
- Initial version 20180523

73
opencensus-proto.spec Normal file
View File

@ -0,0 +1,73 @@
#
# spec file for package opencensus-proto
#
# 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
# 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.
# Please submit bugfixes or comments via http://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: 20180523
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