Update to 1.0

epel9
Mystro256 8 years ago
parent 2fb530aaf7
commit 553e3d804b

@ -1,6 +1,6 @@
Name: tlp Name: tlp
Version: 0.9 Version: 1.0
Release: 5%{?dist} Release: 1%{?dist}
Summary: Advanced power management tool for Linux Summary: Advanced power management tool for Linux
License: GPLv2+ License: GPLv2+
URL: http://linrunner.de/en/tlp/tlp.html 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 <tlp~at~warpnine~dot~de>: #Provided by Andreas Roederer <tlp~at~warpnine~dot~de>:
Source1: 50-tlp.preset 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: perl-generators
BuildRequires: systemd BuildRequires: systemd
@ -55,10 +49,10 @@ based on dock events and the Network Manager connection status.
%autosetup -n TLP-%{version} %autosetup -n TLP-%{version}
%build %build
make %make_build
%install %install
make install DESTDIR=%{buildroot} TLP_NO_INIT=1 \ %make_install 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}/.. TLP_SYSD=%{_unitdir} TLP_ULIB=%{_udevrulesdir}/..
#Install manpages: #Install manpages:
@ -72,7 +66,7 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset
%{_bindir}/* %{_bindir}/*
%{_sbindir}/* %{_sbindir}/*
%{_mandir}/man*/* %{_mandir}/man*/*
%{_datadir}/tlp-pm %{_datadir}/tlp
%{_udevrulesdir}/85-tlp.rules %{_udevrulesdir}/85-tlp.rules
%{_udevrulesdir}/../tlp-usb-udev %{_udevrulesdir}/../tlp-usb-udev
%{_datadir}/bash-completion/completions/* %{_datadir}/bash-completion/completions/*
@ -105,6 +99,9 @@ fi
/bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || :
%changelog %changelog
* Sun Jun 18 2017 Jeremy Newton <alexjnewt at hotmail dot com> - 1.0-1
- Update to 1.0
* Mon Mar 20 2017 Jeremy Newton <alexjnewt at hotmail dot com> - 0.9-5 * Mon Mar 20 2017 Jeremy Newton <alexjnewt at hotmail dot com> - 0.9-5
- Cherry-pick upstream fix for mitigate slow shutdown - Cherry-pick upstream fix for mitigate slow shutdown

Loading…
Cancel
Save