[packages/tlp] Revert "don't override sleep script location"

atler atler at pld-linux.org
Sun May 11 15:24:18 CEST 2025


commit a9f8c7d1203f973604e37a890b9ce6646944ed0e
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun May 11 14:39:46 2025 +0200

    Revert "don't override sleep script location"
    
    This reverts commit ab7ebce382f808c7f4d06f98cebf1ea9e249e46e.
    
    it's the other way around -- only /lib/systemd/system-sleep is valid.
    man page with fixed paths is incorrect

 tlp.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tlp.spec b/tlp.spec
index 70b00fa..3a0f16d 100644
--- a/tlp.spec
+++ b/tlp.spec
@@ -43,6 +43,7 @@ rm -rf $RPM_BUILD_ROOT
 	TLP_ULIB=/lib/udev \
 	TLP_NMDSP=/etc/NetworkManager/dispatcher.d \
 	TLP_SYSD=%{systemdunitdir} \
+	TLP_SDSL=/lib/systemd/system-sleep \
 	TLP_SHCPL=%{bash_compdir} \
 	TLP_FISHCPL=%{fish_compdir} \
 	TLP_ZSHCPL=%{zsh_compdir} \
@@ -91,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/tlp.service.8*
 %{systemdtmpfilesdir}/%{name}.conf
 %{systemdunitdir}/tlp.service
-%attr(755,root,root) /usr/lib/systemd/system-sleep/tlp
+%attr(755,root,root) /lib/systemd/system-sleep/tlp
 %dir /var/lib/%{name}
 %dir %{_datadir}/tlp
 %{_datadir}/tlp/defaults.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tlp.git/commitdiff/a9f8c7d1203f973604e37a890b9ce6646944ed0e



More information about the pld-cvs-commit mailing list