46 lines
1.2 KiB
RPMSpec
46 lines
1.2 KiB
RPMSpec
%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
|