%define _disable_source_fetch 0 Name: sched-ext-scx Version: 1.0.1 Release: 3%{?dist} Summary: Sched_ext Schedulers and Tools License: GPL=2.0 URL: https://github.com/sched-ext/scx Source0: %{URL}/archive/refs/tags/v%{version}.tar.gz BuildRequires: gcc BuildRequires: git BuildRequires: meson >= 1.2 BuildRequires: python BuildRequires: cargo BuildRequires: rust BuildRequires: clang >= 17 BuildRequires: llvm >= 17 BuildRequires: lld >= 17 BuildRequires: bpftool BuildRequires: libbpf >= 1.3 BuildRequires: libbpf-devel >= 1.3 BuildRequires: elfutils-libelf BuildRequires: elfutils-libelf-devel BuildRequires: zlib BuildRequires: jq BuildRequires: jq-devel BuildRequires: systemd Requires: scx-scheds %description Empty package to facilitate scheduler name change. %package -n scx-scheds Summary : sched_ext schedulers Requires: elfutils-libelf Requires: zlib Requires: jq Obsoletes: sched-ext-scx %description -n scx-scheds sched_ext schedulers. %prep %autosetup -n scx-%{version} %build %meson \ -Dsystemd=enabled \ -Dopenrc=disabled \ -Dlibalpm=disabled %meson_build %install %meson_install %files -n scx-scheds %{_bindir}/* %{_prefix}/lib/systemd/system/scx.service %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/default/scx %{_sysconfdir}/systemd/journald@sched-ext.conf %files %changelog %autochangelog