diff --git a/opencensus-proto-0.3.0.tar.gz b/opencensus-proto-0.3.0.tar.gz new file mode 100644 index 0000000..18db625 Binary files /dev/null and b/opencensus-proto-0.3.0.tar.gz differ diff --git a/opencensus-proto.spec b/opencensus-proto.spec new file mode 100644 index 0000000..00c5d0e --- /dev/null +++ b/opencensus-proto.spec @@ -0,0 +1,44 @@ +%global debug_package %{nil} +%define src_install_dir /usr/src/%{name} + +Name: opencensus-proto +Version: 0.3.0 +Release: 1 +Summary: Protocol buffers for OpenCensus +License: Apache-2.0 +URL: https://github.com/census-instrumentation/opencensus-proto +Source0: https://github.com/census-instrumentation/opencensus-proto/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: fdupes + +%description +Protocol buffers for OpenCensus - a framework for collecting metrics and +distributed traces from services. + +%package source +Summary: Source code of opencensus-proto +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 +%autosetup -p1 -n %{name}-%{version} + +%build + +%install +mkdir -p %{buildroot}%{src_install_dir} +cp -r * %{buildroot}%{src_install_dir} +%fdupes %{buildroot}%{src_install_dir} + +%files source +%license LICENSE +%doc README.md +%{src_install_dir} + +%changelog +* Mon Apr 07 2025 xinghe - 0.3.0-1 +- Init Package diff --git a/opencensus-proto.yaml b/opencensus-proto.yaml new file mode 100644 index 0000000..ce4c56b --- /dev/null +++ b/opencensus-proto.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: census-instrumentation/opencensus-proto +tag_prefix: ^v +separator: .