!1 package init
From: @fly_fzc Reviewed-by: @jimmy_hero Signed-off-by: @jimmy_hero
This commit is contained in:
commit
0705a2f61c
BIN
bazel_jar_jar-v0.1.0.tar.gz
Normal file
BIN
bazel_jar_jar-v0.1.0.tar.gz
Normal file
Binary file not shown.
43
bazel_jar_jar.spec
Normal file
43
bazel_jar_jar.spec
Normal file
@ -0,0 +1,43 @@
|
||||
%define debug_package %{nil}
|
||||
%define src_install_dir /usr/src/%{name}
|
||||
|
||||
Name: bazel_jar_jar
|
||||
Version: 0.1.0
|
||||
Release: 1
|
||||
Summary: JarJar rules for Bazel (rename packages and classes in existing jars)
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
URL: https://github.com/johnynek/%{name}
|
||||
Source: https://github.com/johnynek/%{name}/releases/download/v%{version}/%{name}-v%{version}.tar.gz
|
||||
|
||||
%description
|
||||
JarJar rules for Bazel (rename packages and classes in existing jars)
|
||||
|
||||
%package source
|
||||
Summary: Source code of %{name}
|
||||
Group: Development/Sources
|
||||
BuildArch: noarch
|
||||
|
||||
%description source
|
||||
JarJar rules for Bazel (rename packages and classes in existing jars)
|
||||
|
||||
This package contains source code of %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{src_install_dir}
|
||||
tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
|
||||
|
||||
%files source
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{src_install_dir}
|
||||
|
||||
%changelog
|
||||
* Mon Apr 7 2025 fuanan <fuanan3@h-partners.com> - 0.1.0-1
|
||||
- package init
|
||||
|
||||
4
bazel_jar_jar.yaml
Normal file
4
bazel_jar_jar.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: johnynek/bazel_jar_jar
|
||||
tag_prefix: ^v
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user