bazel-rules-python/rules_python.spec
2025-04-07 17:55:05 +08:00

46 lines
1.0 KiB
RPMSpec

%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