Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
%global common_description %{expand:
|
||||
A runner for Gitea based on act.}
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs examples README.md
|
||||
%global goipath gitea.com/gitea/act_runner
|
||||
|
||||
Name: gitea-act-runner
|
||||
Version: 0.2.10
|
||||
Release: %autorelease
|
||||
Summary: A runner for Gitea based on act.
|
||||
|
||||
License: MIT
|
||||
URL: https://gitea.com/gitea/act_runner
|
||||
Source0: https://gitea.com/gitea/act_runner/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: go >= 1.22
|
||||
BuildRequires: go-rpm-macros
|
||||
|
||||
%gometa -L -f -i
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%prep
|
||||
%autosetup -C
|
||||
|
||||
%build
|
||||
go build -o bin/act_runner %{goipath}
|
||||
|
||||
%install
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 02 2025 Daniel Demus <daniel@demus.dk>
|
||||
-
|
||||
Reference in New Issue
Block a user