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

atler atler at pld-linux.org
Sun May 11 14:01:37 CEST 2025


commit ab7ebce382f808c7f4d06f98cebf1ea9e249e46e
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun May 11 13:12:11 2025 +0200

    don't override sleep script location
    
    only /usr/lib/systemd/system-sleep is valid

 tlp.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/tlp.spec b/tlp.spec
index 3a0f16d..70b00fa 100644
--- a/tlp.spec
+++ b/tlp.spec
@@ -43,7 +43,6 @@ 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} \
@@ -92,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/tlp.service.8*
 %{systemdtmpfilesdir}/%{name}.conf
 %{systemdunitdir}/tlp.service
-%attr(755,root,root) /lib/systemd/system-sleep/tlp
+%attr(755,root,root) /usr/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/ab7ebce382f808c7f4d06f98cebf1ea9e249e46e



More information about the pld-cvs-commit mailing list