diff --git a/bazel-skylib-1.6.1.tar.gz b/bazel-skylib-1.6.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..42d2d37d0b55e6bacecc1bef9a280f086f39506c Binary files /dev/null and b/bazel-skylib-1.6.1.tar.gz differ diff --git a/bazel-skylib.spec b/bazel-skylib.spec new file mode 100644 index 0000000000000000000000000000000000000000..e44d8075948d89db36bf2bfb27aeb9824039abdf --- /dev/null +++ b/bazel-skylib.spec @@ -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 - 1.6.1-1 +- package init diff --git a/bazel-skylib.yaml b/bazel-skylib.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6eafc8d87171629cfc49fec257888539a3cd3ecc --- /dev/null +++ b/bazel-skylib.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: bazelbuild/bazel-skylib +tag_prefix: ^v +separator: .