diff --git a/0.9.0.tar.gz b/0.9.0.tar.gz new file mode 100644 index 0000000..0129f6f Binary files /dev/null and b/0.9.0.tar.gz differ diff --git a/rules_python.spec b/rules_python.spec new file mode 100644 index 0000000..8eff8b8 --- /dev/null +++ b/rules_python.spec @@ -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 - 0.9.0-1 +- package init diff --git a/rules_python.yaml b/rules_python.yaml new file mode 100644 index 0000000..06c6701 --- /dev/null +++ b/rules_python.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: bazelbuild/rules_python +tag_prefix: ^v +separator: .