From 40bd3d2c5327faabb2d300c6117f8806b428892e Mon Sep 17 00:00:00 2001 From: alessio.biancalana <> Date: Jun 02 2025 20:43:58 +0000 Subject: Update schedctl to version 1.0.0 / rev 1 via SR 1281992 https://build.opensuse.org/request/show/1281992 by user alessio.biancalana + anag_factory New package see https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/ZY6TQDYQIWXFIY64XIB7BVQ4VOROJ4TL/ --- diff --git a/.files b/.files new file mode 100644 index 0000000..9745334 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..d249af5 --- /dev/null +++ b/.meta @@ -0,0 +1,4 @@ +<package name="schedctl" project="openSUSE:Factory"> + <title></title> + <description></description> +</package> diff --git a/.rev b/.rev new file mode 100644 index 0000000..f54fd7b --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ +<revisionlist> + <revision rev="1" vrev="1"> + <srcmd5>06f6668343be283d37c77edb28ebe227</srcmd5> + <version>1.0.0</version> + <time>1748894510</time> + <user>anag_factory</user> + <comment>New package see https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/ZY6TQDYQIWXFIY64XIB7BVQ4VOROJ4TL/ </comment> + <requestid>1281992</requestid> + </revision> +</revisionlist> diff --git a/_service b/_service new file mode 100644 index 0000000..4ff51d0 --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ +<services> + <service name="obs_scm" mode="manual"> + <param name="lfs">disable</param> + <param name="url">https://github.com/schedkit/schedctl</param> + <param name="scm">git</param> + <param name="exclude">.git</param> + <param name="revision">v1.0.0</param> + <param name="versionformat">@PARENT_TAG@</param> + <param name="changesgenerate">enable</param> + <param name="versionrewrite-pattern">v(.*)</param> + </service> + <service name="set_version" mode="manual"> + </service> + <service name="tar" mode="buildtime"/> + <service name="recompress" mode="buildtime"> + <param name="file">*.tar</param> + <param name="compression">gz</param> + </service> + <service name="go_modules" mode="manual"> + </service> +</services> + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..ea5d935 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ +<servicedata> +<service name="tar_scm"> + <param name="url">https://github.com/schedkit/schedctl</param> + <param name="changesrevision">73958703fd44986fda8ae0401dbd789d6918a50b</param></service></servicedata> \ No newline at end of file diff --git a/schedctl-1.0.0.obscpio b/schedctl-1.0.0.obscpio new file mode 120000 index 0000000..3cd1993 --- /dev/null +++ b/schedctl-1.0.0.obscpio @@ -0,0 +1 @@ +/ipfs/bafybeiabf2lew6y7glgduq4jvnukn5nr7mon2vuyraeqri5a4b44ngjy5m \ No newline at end of file diff --git a/schedctl.changes b/schedctl.changes new file mode 100644 index 0000000..28a2332 --- /dev/null +++ b/schedctl.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 2 15:12:47 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org> + +- Fixed package summary + +------------------------------------------------------------------- +Sat May 24 14:00:05 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org> + +- Initial packaging for schedctl 1.0.0 diff --git a/schedctl.obsinfo b/schedctl.obsinfo new file mode 100644 index 0000000..254d3d7 --- /dev/null +++ b/schedctl.obsinfo @@ -0,0 +1,4 @@ +name: schedctl +version: 1.0.0 +mtime: 1748081917 +commit: 73958703fd44986fda8ae0401dbd789d6918a50b diff --git a/schedctl.spec b/schedctl.spec new file mode 100644 index 0000000..464cff0 --- /dev/null +++ b/schedctl.spec @@ -0,0 +1,52 @@ +# +# 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.0 +Release: 0 +Summary: 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 diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 120000 index 0000000..c579032 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeibtd4w2r4bm5rmnxglaj2cmjgnoj4z3benf77kg6kvz4bchnwxlwq \ No newline at end of file