!1 Package init
From: @Acccll Reviewed-by: @jimmy_hero Signed-off-by: @jimmy_hero
This commit is contained in:
commit
43faac19df
BIN
0.9.0.tar.gz
Normal file
BIN
0.9.0.tar.gz
Normal file
Binary file not shown.
45
rules_python.spec
Normal file
45
rules_python.spec
Normal file
@ -0,0 +1,45 @@
|
||||
|
||||
%define debug_package %{nil}
|
||||
%define src_install_dir /usr/src/%{name}
|
||||
|
||||
Name: rules_python
|
||||
Version: 0.9.0
|
||||
Release: 1
|
||||
Summary: Python rules for Bazel
|
||||
License: Apache-2.0
|
||||
Url: https://github.com/bazelbuild/%{name}
|
||||
Source0: https://github.com/bazelbuild/%{name}/archive/refs/tags/%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
|
||||
%description
|
||||
Bazel rules for packaging and distributing software written in Python.
|
||||
|
||||
%package source
|
||||
Summary: Source code of bazel-rules-python
|
||||
Group: Development/Sources
|
||||
BuildArch: noarch
|
||||
|
||||
%description source
|
||||
Bazel rules for packaging and distributing software written in Python.
|
||||
|
||||
This package contains source code of bazel-rules-python.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
chmod -x docs/*.md
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{src_install_dir}
|
||||
cp -R * %{buildroot}%{src_install_dir}
|
||||
%fdupes %{buildroot}%{src_install_dir}
|
||||
|
||||
%files source
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{src_install_dir}
|
||||
|
||||
%changelog
|
||||
* Sat Mar 15 2025 Acccll <mail1521@163.com> - 0.9.0-1
|
||||
- package init
|
||||
4
rules_python.yaml
Normal file
4
rules_python.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: bazelbuild/rules_python
|
||||
tag_prefix: ^v
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user