45 lines
1.1 KiB
RPMSpec
45 lines
1.1 KiB
RPMSpec
%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 <xinghe2@h-partners.com> - 0.3.0-1
|
|
- Init Package
|