diff --git a/084aadd3b854cad5d5e754a7e7d958ac531e6801.tar.gz b/084aadd3b854cad5d5e754a7e7d958ac531e6801.tar.gz new file mode 100644 index 0000000..1d7e43c Binary files /dev/null and b/084aadd3b854cad5d5e754a7e7d958ac531e6801.tar.gz differ diff --git a/bazel-common.spec b/bazel-common.spec new file mode 100644 index 0000000..bcb3d3a --- /dev/null +++ b/bazel-common.spec @@ -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 - 084aadd3b854cad5d5e754a7e7d958ac531e6801-1 +- package init diff --git a/bazel-common.yaml b/bazel-common.yaml new file mode 100644 index 0000000..8949b9b --- /dev/null +++ b/bazel-common.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: google/bazel-common +tag_prefix: ^v +separator: .