diff --git a/tlp.spec b/tlp.spec index 97ec7c2..bddc3ae 100644 --- a/tlp.spec +++ b/tlp.spec @@ -1,6 +1,6 @@ Name: tlp -Version: 0.9 -Release: 5%{?dist} +Version: 1.0 +Release: 1%{?dist} Summary: Advanced power management tool for Linux License: GPLv2+ URL: http://linrunner.de/en/tlp/tlp.html @@ -8,12 +8,6 @@ Source0: https://github.com/linrunner/TLP/archive/%{version}.tar.gz #Provided by Andreas Roederer : Source1: 50-tlp.preset -#Cherry-pick upstream fixes: -#https://github.com/linrunner/TLP/commit/9498a85d1cedb78a38b54f243c9c4a3daad5bcc6 -Patch0: tlp-stat-fix.patch -#https://github.com/linrunner/TLP/commit/dabd0e900f6e10c358436c584c51dd1f55c320d2 -Patch1: tlp-mitigate-slowshutdown.patch - BuildRequires: perl-generators BuildRequires: systemd @@ -55,10 +49,10 @@ based on dock events and the Network Manager connection status. %autosetup -n TLP-%{version} %build -make +%make_build %install -make install DESTDIR=%{buildroot} TLP_NO_INIT=1 \ +%make_install TLP_NO_INIT=1 \ TLP_NO_PMUTILS=1 TLP_WITH_SYSTEMD=1 \ TLP_SYSD=%{_unitdir} TLP_ULIB=%{_udevrulesdir}/.. #Install manpages: @@ -72,7 +66,7 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset %{_bindir}/* %{_sbindir}/* %{_mandir}/man*/* -%{_datadir}/tlp-pm +%{_datadir}/tlp %{_udevrulesdir}/85-tlp.rules %{_udevrulesdir}/../tlp-usb-udev %{_datadir}/bash-completion/completions/* @@ -105,6 +99,9 @@ fi /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : %changelog +* Sun Jun 18 2017 Jeremy Newton - 1.0-1 +- Update to 1.0 + * Mon Mar 20 2017 Jeremy Newton - 0.9-5 - Cherry-pick upstream fix for mitigate slow shutdown