package init

This commit is contained in:
xujing 2025-04-08 23:36:50 +08:00
parent c3c341a5a2
commit 4e205d6375
3 changed files with 49 additions and 0 deletions

BIN
bazel-skylib-1.6.1.tar.gz Normal file

Binary file not shown.

45
bazel-skylib.spec Normal file
View File

@ -0,0 +1,45 @@
%define debug_package %{nil}
%define src_install_dir /usr/src/%{name}
Name: bazel-skylib
Version: 1.6.1
Release: 1
Summary: Set of functions for writing Bazel build rules with Skylark
License: Apache-2.0
Group: Development/Tools/Building
URL: https://github.com/bazelbuild/%{name}
Source: https://github.com/bazelbuild/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
%description
Skylib is a standard library that provides functions for manipulating
collections, file paths, and common features for writing custom build rules in
Bazel.
%package source
Summary: Source code of %{name}
Group: Development/Sources
BuildArch: noarch
%description source
Skylib is a standard library that provides functions for manipulating
collections, file paths, and common features for writing custom build rules in
Bazel.
This package contains source code of Skylib.
%prep
%setup -q -c -n %{name}-%{version}
%build
%install
mkdir -p %{buildroot}%{src_install_dir}
tar -xf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
%files source
%license LICENSE
%{src_install_dir}
%changelog
* Tue Apr 8 2025 fuanan <fuanan3@h-partners.com> - 1.6.1-1
- package init

4
bazel-skylib.yaml Normal file
View File

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