Files
schedctl/schedctl.spec
Alessio Biancalana 1c4a7dc4d2 - Update to version 1.0.2:
* docs: Update 'schedctl start' command to 'schedctl run' (#49)
  * feat: support gthulhu
  * chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0
  * chore(deps): bump github.com/containers/podman/v5 from 5.6.1 to 5.6.2
  * chore(deps): bump github.com/containers/podman/v5 from 5.6.0 to 5.6.1
  * ci: bump go to 1.24
  * chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1
  * chore(deps): bump golang.org/x/crypto from 0.41.0 to 0.42.0
  * chore(deps): bump actions/setup-go from 5 to 6
  * chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1
  * chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0
  * chore(deps): bump github.com/containers/podman/v5 from 5.5.2 to 5.6.0
  * chore(deps): bump actions/checkout from 4 to 5
  * chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0
  * chore(deps): bump github.com/containerd/containerd from 1.7.27 to 1.7.28
  * chore(deps): bump golang.org/x/crypto from 0.39.0 to 0.40.0
  * chore(deps): bump github.com/containers/podman/v5 from 5.5.1 to 5.5.2
  * chore(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
  * chore(deps): bump github.com/containers/podman/v5 from 5.5.0 to 5.5.1

OBS-URL: https://build.opensuse.org/package/show/utilities/schedctl?expand=0&rev=4
2025-10-28 17:13:08 +00:00

53 lines
1.5 KiB
RPMSpec

#
# spec file for package schedctl
#
# Copyright (c) 2025 SUSE LLC
#
# 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/
#
Name: schedctl
Version: 1.0.2
Release: 0
Summary: Linux eBPF sched_ext plug and play schedulers for fun and profit
License: Apache-2.0
URL: https://github.com/schedkit/schedctl
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.23
BuildRequires: libbtrfs-devel
BuildRequires: libgpgme-devel
Requires: (podman or containerd)
%description
eBPF sched_ext plug and play containerized schedulers for fun and profit
%prep
%autosetup -a 1
%build
%ifnarch ppc64
export GOFLAGS="-buildmode=pie"
%endif
go build -ldflags='-s -X main.version=%{version}' -o=./schedctl main.go
%install
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%changelog