public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/uresourced] rawhide: Update to 0.5.5
@ 2026-09-21 7:48 Benjamin Berg
0 siblings, 0 replies; only message in thread
From: Benjamin Berg @ 2026-09-21 7:48 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/uresourced
Branch : rawhide
Commit : d3e81dbd0f1d73de0707e2062fb0553cd7d034ee
Author : Benjamin Berg <benjamin@sipsolutions.net>
Date : 2026-09-20T13:15:26+02:00
Stats : +17/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/uresourced/c/d3e81dbd0f1d73de0707e2062fb0553cd7d034ee?branch=rawhide
Log:
Update to 0.5.5
Also add a cleanup script for generated configuration files.
Resolves: #2259354
---
diff --git a/.gitignore b/.gitignore
index 9fff2cb..94e0029 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/uresourced-v0.5.2.tar.bz2
/uresourced-v0.5.3.tar.bz2
/uresourced-v0.5.4.tar.bz2
+/uresourced-v0.5.5.tar.bz2
diff --git a/sources b/sources
index 6eaafcf..858d594 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (uresourced-v0.5.4.tar.bz2) = c9c6499968aeeb4cb0e7a72d12b3778f4460d0f278e592feca1deb5d54c91dd19a27f8741c34b5e3d142e72b10a945e86b45c3ecd2864b45f1dd2acad319fb66
+SHA512 (uresourced-v0.5.5.tar.bz2) = 5e146b74480ac5d77b950f4eac23448ddcc6e775e190c915291d00a12d4a4161ac0d87358c70205a6f5427b98364fe2c620caf46e1fa9dd866b1c8dc1e667148
diff --git a/uresourced.spec b/uresourced.spec
index 82cb9d0..e94db73 100644
--- a/uresourced.spec
+++ b/uresourced.spec
@@ -1,5 +1,5 @@
Name: uresourced
-Version: 0.5.4
+Version: 0.5.5
Release: %autorelease
Summary: Dynamically allocate resources to the active user
@@ -32,6 +32,20 @@ to protect the sessions core processes (session.slice).
%meson_install
%post
+# before version 0.5.5 uresourced accidentally persisted the configuration,
+# remove the generated configuration files and directories.
+shopt -s nullglob
+
+for f in /etc/systemd/system.control/user{@*.service.d,-*.slice.d}/50-{CPUWeight,IOWeight,MemoryLow,MemoryMin}.conf; do
+ /usr/bin/rm -f "$f" || true
+done
+
+for d in /etc/systemd/system.control/user{@*.service.d,-*.slice.d}; do
+ /usr/bin/rmdir --ignore-fail-on-non-empty "$d"|| true
+done
+
+shopt -u nullglob
+
%systemd_post uresourced.service
%systemd_user_post uresourced.service
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-21 7:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 7:48 [rpms/uresourced] rawhide: Update to 0.5.5 Benjamin Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox