From 37a2a3958b2c09d4299c7c090c4fdbb63b3de9a8 Mon Sep 17 00:00:00 2001 From: Mystro256 Date: Jan 17 2017 15:07:49 +0000 Subject: Remove missing dep (kernel-tools) and remove accidentally added noarch, cleanup --- diff --git a/tlp.spec b/tlp.spec index 6ea7f3a..108d93c 100644 --- a/tlp.spec +++ b/tlp.spec @@ -1,6 +1,6 @@ Name: tlp Version: 0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Advanced power management tool for Linux License: GPLv2+ URL: http://linrunner.de/tlp @@ -16,12 +16,10 @@ Requires: udev Requires: usbutils Requires: pciutils Requires: pm-utils -Requires: kernel-tools #Note: Conflicts with laptop-mode-tools #Makes sure laptop_mode isn't being used: Conflicts: %{_sbindir}/laptop_mode -BuildArch: noarch %description TLP brings you the benefits of advanced power management for Linux @@ -50,7 +48,8 @@ make %install make install DESTDIR=%{buildroot} TLP_NO_INIT=0 \ - TLP_NO_PMUTILS=0 TLP_WITH_SYSTEMD=0 + TLP_NO_PMUTILS=0 TLP_WITH_SYSTEMD=0 \ + TLP_PLIB=%{_libdir}/pm-utils #Install manpages: make install-man DESTDIR=%{buildroot} @@ -62,7 +61,7 @@ make install-man DESTDIR=%{buildroot} %{_sbindir}/* %{_mandir}/man*/* %{_datadir}/tlp-pm -%{_prefix}/lib/pm-utils/sleep.d/49tlp +%{_libdir}/pm-utils/sleep.d/49tlp /lib/udev/rules.d/85-tlp.rules /lib/udev/tlp-usb-udev %{_datadir}/bash-completion/completions/* @@ -91,6 +90,10 @@ fi /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : %changelog +* Tue Jan 17 2017 Jeremy Newton - 0.9-2 +- Remove kernel-tools req (not in epel6) +- Revert back to arched package (forgot that pm-utils still needs this) + * Mon Jan 16 2017 Jeremy Newton - 0.9-1 - Update to 0.9