commit f3c46d9a2a057dbe5c4d1ee1b64e15d284ee80ed
Author: Jan Palus <jan.pa...@gmail.com>
Date:   Mon Mar 24 21:00:35 2014 +0100

    - up to 0.5
    - adjust for changed variables holding dirs
    - DESTDIR is now automatically applied to all destination dirs

 tlp.spec | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/tlp.spec b/tlp.spec
index 95eab15..3488d91 100644
--- a/tlp.spec
+++ b/tlp.spec
@@ -3,12 +3,12 @@
 # /etc/init.d/tlp
 Summary:       Power management tool for Linux
 Name:          tlp
-Version:       0.4.1
+Version:       0.5
 Release:       1
 License:       GPL v2
 Group:         Base
 Source0:       
https://github.com/linrunner/TLP/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5: 43cb7a875e4237cbb1392294585ccc4f
+# Source0-md5: 93b2162cb278b3b5757d701edf2e1f7a
 Source1:       %{name}.tmpfiles
 URL:           http://linrunner.de/en/tlp/tlp.html
 Requires:      acpid
@@ -44,15 +44,14 @@ This package provides bash-completion for tlp.
 rm -rf $RPM_BUILD_ROOT
 %{__make} install-tlp \
        DESTDIR=$RPM_BUILD_ROOT \
-       SBIN=$RPM_BUILD_ROOT%{_sbindir} \
-       BIN=$RPM_BUILD_ROOT%{_bindir} \
-       PMETC=$RPM_BUILD_ROOT/etc/pm/power.d \
-       TLIB=$RPM_BUILD_ROOT%{_libdir}/tlp-pm \
-       PLIB=$RPM_BUILD_ROOT%{_libdir}/pm-utils \
-       ULIB=$RPM_BUILD_ROOT/lib/udev \
-       ACPI=$RPM_BUILD_ROOT/etc/acpi \
-       NMDSP=$RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d \
-       CONFFILE=$RPM_BUILD_ROOT/etc/default/tlp
+       TLP_SBIN=%{_sbindir} \
+       TLP_BIN=%{_bindir} \
+       TLP_TLIB=%{_libdir}/tlp-pm \
+       TLP_PLIB=%{_libdir}/pm-utils \
+       TLP_ULIB=/lib/udev \
+       TLP_ACPI=/etc/acpi \
+       TLP_NMDSP=/etc/NetworkManager/dispatcher.d \
+       TLP_CONF=/etc/default/tlp
 
 install -d 
$RPM_BUILD_ROOT{%{_mandir}/{man1,man8},%{systemdtmpfilesdir},%{systemdunitdir},%{_varrun}/%{name}}
 cp -p man/{bluetooth,run-on-ac,run-on-bat,wifi,wwan}.1 
$RPM_BUILD_ROOT%{_mandir}/man1
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to