chore(scx-scheds): Add systemd post scripts just in case (#5677) (#5696)

(cherry picked from commit 5c6b12501b)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-06-28 21:58:00 -07:00
committed by GitHub
parent 36de61a1be
commit 352c78cdf4
2 changed files with 26 additions and 2 deletions
@@ -5,7 +5,7 @@
Name: scx-scheds-nightly
Version: %{ver}^%{commitdate}.git.%{shortcommit}
Release: 1%?dist
Release: 2%?dist
Summary: Nightly builds of sched_ext schedulers and tools
SourceLicense: GPL-2.0-only
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1 AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-only and MPL-2.0-or-later AND (Unlicense OR MIT) AND Zlib
@@ -82,6 +82,18 @@ License: GPL-2.0-only
%{cargo_license_online} > LICENSE.dependencies
%post
%systemd_post scx_loader.service
%systemd_post scx.service
%preun
%systemd_preun scx_loader.service
%systemd_preun scx.service
%postun
%systemd_postun_with_restart scx_loader.service
%systemd_postun_with_restart scx.service
%files
%doc OVERVIEW.md
%doc README.md
+13 -1
View File
@@ -1,6 +1,6 @@
Name: scx-scheds
Version: 1.0.13
Release: 1%{?dist}
Release: 2%{?dist}
Summary: sched_ext schedulers and tools
SourceLicense: GPL-2.0-only
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1 AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-only and MPL-2.0-or-later AND (Unlicense OR MIT) AND Zlib
@@ -73,6 +73,18 @@ License: GPL-2.0-only
%{cargo_license_online} > LICENSE.dependencies
%post
%systemd_post scx_loader.service
%systemd_post scx.service
%preun
%systemd_preun scx_loader.service
%systemd_preun scx.service
%postun
%systemd_postun_with_restart scx_loader.service
%systemd_postun_with_restart scx.service
%files
%doc OVERVIEW.md
%doc README.md