package init

This commit is contained in:
fly_fzc 2025-04-07 18:00:01 +08:00
parent a8fde486a0
commit 411debc0ad
3 changed files with 48 additions and 0 deletions

Binary file not shown.

44
bazel-common.spec Normal file
View File

@ -0,0 +1,44 @@
%define debug_package %{nil}
%define src_install_dir /usr/src/%{name}
Name: bazel-common
Version: 084aadd3b854cad5d5e754a7e7d958ac531e6801
Release: 1
Summary: Common functionality for Google's open-source libraries that are built with bazel.
License: Apache-2.0
Group: Development/Tools/Building
URL: https://github.com/google/%{name}
Source: https://github.com/google/%{name}/archive/%{version}.tar.gz
%description
Bazel Common Libraries.This repository contains assorted common functionality for Google's open-source
libraries that are built with [`bazel`].
%package source
Summary: Source code of bazel-common
Group: Development/Sources
BuildArch: noarch
%description source
Bazel Common Libraries.This repository contains assorted common functionality for Google's open-source
libraries that are built with [`bazel`].
This package contains source code of Common.
%prep
%setup -q -n %{name}-%{version}
%build
%install
mkdir -p %{buildroot}%{src_install_dir}
tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
%files source
%license LICENSE
%doc README.md
%{src_install_dir}
%changelog
* Mon Apr 7 2025 fuanan <fuanan3@h-partners.com> - 084aadd3b854cad5d5e754a7e7d958ac531e6801-1
- package init

4
bazel-common.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: google/bazel-common
tag_prefix: ^v
separator: .