!1 Init package
From: @xinghe_1 Reviewed-by: @jimmy_hero Signed-off-by: @jimmy_hero
This commit is contained in:
commit
0d647023ba
42
bazel-platforms.spec
Normal file
42
bazel-platforms.spec
Normal file
@ -0,0 +1,42 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: bazel-platforms
|
||||
Version: 0.0.9
|
||||
Release: 1
|
||||
Summary: Bazel constraint values for specifying platforms and toolchains
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/bazelbuild/platforms
|
||||
Source0: https://github.com/bazelbuild/platforms/releases/download/%{version}/platforms-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
|
||||
%description
|
||||
Bazel platforms contains all canonical constraint_settings, constraint_values
|
||||
and platforms that are universally useful across languages and Bazel projects.
|
||||
|
||||
%package source
|
||||
Summary: Source code of platforms
|
||||
BuildArch: noarch
|
||||
|
||||
%description source
|
||||
Bazel platforms contains all canonical constraint_settings, constraint_values
|
||||
and platforms that are universally useful across languages and Bazel projects.
|
||||
|
||||
This package provides source code of platforms.
|
||||
|
||||
%prep
|
||||
%setup -qc
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/bazel-platforms
|
||||
cp -R * %{buildroot}%{_datadir}/bazel-platforms
|
||||
fdupes %{buildroot}%{_datadir}/bazel-platforms
|
||||
|
||||
%files source
|
||||
%license LICENSE
|
||||
%{_datadir}/bazel-platforms
|
||||
|
||||
%changelog
|
||||
* Mon Apr 07 2025 xinghe <xinghe2@h-partners.com> - 0.0.9-1
|
||||
- Init Package
|
||||
4
bazel-platforms.yaml
Normal file
4
bazel-platforms.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: bazelbuild/platforms
|
||||
tag_prefix:
|
||||
separator: .
|
||||
BIN
platforms-0.0.9.tar.gz
Normal file
BIN
platforms-0.0.9.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user