[packages/systemd] don't package unused system-{shutdown,sleep} dirs
atler
atler at pld-linux.org
Sun May 11 15:27:46 CEST 2025
commit f58a6d22919d5f45f319dd24c3cfbbf48a63581f
Author: Jan Palus <atler at pld-linux.org>
Date: Sun May 11 14:45:48 2025 +0200
don't package unused system-{shutdown,sleep} dirs
systemd.spec | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index a98319c..86dbea3 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -1030,9 +1030,6 @@ cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
# - isn't dbus populated by dbus-systemd only (so to be moved there)?
install -d $RPM_BUILD_ROOT%{systemdunitdir}/{basic,dbus,halt,initrd,kexec,poweroff,reboot,shutdown,syslog}.target.wants
-# Make sure the shutdown/sleep drop-in dirs exist
-install -d $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-{shutdown,sleep}
-
# Create new-style configuration files so that we can ghost-own them
touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,vconsole.conf}
@@ -1768,8 +1765,6 @@ fi
%{_prefix}/lib/sysctl.d/50-default.conf
%dir %{_prefix}/lib/systemd
%dir %{_prefix}/lib/systemd/catalog
-%dir %{_prefix}/lib/systemd/system-shutdown
-%dir %{_prefix}/lib/systemd/system-sleep
%dir %{_prefix}/lib/systemd/user-generators
%attr(755,root,root) %{_prefix}/lib/systemd/user-generators/systemd-xdg-autostart-generator
%dir %{_prefix}/lib/systemd/user-environment-generators
@@ -1783,8 +1778,8 @@ fi
%dir /lib/systemd/system-generators
%dir /lib/systemd/system-preset
/lib/systemd/system-preset/90-systemd.preset
-%dir /lib/systemd/system-sleep
%dir /lib/systemd/system-shutdown
+%dir /lib/systemd/system-sleep
%attr(755,root,root) /lib/systemd/systemd-update-helper
%attr(755,root,root) /bin/systemctl
%attr(755,root,root) /bin/systemd-tmpfiles
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/f58a6d22919d5f45f319dd24c3cfbbf48a63581f
More information about the pld-cvs-commit
mailing list