From 8d30d02cfe02810824ef944ff6e2f6f009e497d2 Mon Sep 17 00:00:00 2001 From: Mystro256 Date: Sun, 15 Jan 2017 19:43:56 -0500 Subject: [PATCH] Cleanup --- tlp.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tlp.spec b/tlp.spec index 2faf7a4..20a6f95 100644 --- a/tlp.spec +++ b/tlp.spec @@ -47,15 +47,14 @@ based on dock events and the Network Manager connection status. %prep %autosetup -n TLP-%{version} -#This isn't necessary for fc18+, but it makes packaging easier: -sed -i 's|= /lib/|= /usr/lib/|g' Makefile %build make %install make install DESTDIR=%{buildroot} TLP_NO_INIT=1 \ - TLP_NO_PMUTILS=1 TLP_WITH_SYSTEMD=1 + TLP_NO_PMUTILS=1 TLP_WITH_SYSTEMD=1 \ + TLP_SYSD=%{_unitdir} TLP_ULIB=%{_udevrulesdir}/.. #Install manpages: make install-man DESTDIR=%{buildroot} #Install preset (source 1):