- Update to version 0.2.64: * chore: bump VERSION to 0.2.64 * build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#2366) * build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#2365) * build(deps): bump golang.org/x/term from 0.20.0 to 0.21.0 (#2360) * build(deps): bump github.com/docker/cli (#2358) * fix: skip service container for empty image (#2281) * fix: composite action input pollution (#2348) * fix: update reusable workflow input handling (#2349) * Add riscv64 binary release (#2350) * build(deps): bump github.com/rhysd/actionlint from 1.7.0 to 1.7.1 (#2346) OBS-URL: https://build.opensuse.org/request/show/1184841 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/act?expand=0&rev=20
64 lines
1.8 KiB
RPMSpec
64 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package act
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# Copyright (c) 2021 Orville Q. Song <orville@anislet.dev>
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%global provider github
|
|
%global provider_tld com
|
|
%global project nketos
|
|
%global repo act
|
|
%global provider_prefix %{provider}.%{provider_tld}/%{project}
|
|
%global import_path %{provider_prefix}/%{repo}
|
|
Name: act
|
|
Version: 0.2.64
|
|
Release: 0
|
|
Summary: Run your GitHub Actions locally
|
|
License: MIT
|
|
Group: Development/Tools/Other
|
|
URL: https://github.com/nektos/act
|
|
Source0: %{name}-%{version}.tar.xz
|
|
Source1: vendor.tar.gz
|
|
BuildRequires: golang-packaging
|
|
BuildRequires: golang(API) >= 1.16
|
|
Requires: docker
|
|
%{go_nostrip}
|
|
%{go_provides}
|
|
|
|
%description
|
|
act helps you run your Github Actions locally.
|
|
|
|
%prep
|
|
%setup -q
|
|
%setup -q -a1 %{SOURCE1}
|
|
sed -i 's_var version = \"v0.2.27-dev\"_var version = "%{version}"_g' main.go
|
|
|
|
%build
|
|
%{goprep} .
|
|
mkdir -p vendor/%{provider_prefix}
|
|
ln -s . vendor/%{import_path}
|
|
%{gobuild} -ldflags "-s -w -X main.Version=v%{version}" .
|
|
|
|
%install
|
|
%{goinstall}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|