From 2b6870dbdccd7950db705b32998980bd8a77dc63 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Aug 03 2023 21:13:40 +0000 Subject: Add a custom %clean implementation Let's make sure we clean up after ourselves. We have to remove the generated timeout user config file, the file list files and the generated .lang file. --- diff --git a/systemd.spec b/systemd.spec index af22e4b..18b7b18 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1166,5 +1166,11 @@ fi %files standalone-shutdown -f .file-list-standalone-shutdown +%clean +rm -rf $RPM_BUILD_ROOT +rm -f 10-timeout-abort.conf.user +rm -f .file-list-* +rm -f %{name}.lang + %changelog %autochangelog