diff --git a/50-tlp.preset b/50-tlp.preset deleted file mode 100644 index 11b5fb6..0000000 --- a/50-tlp.preset +++ /dev/null @@ -1,2 +0,0 @@ - -enable tlp.service diff --git a/tlp.spec b/tlp.spec index f9b245a..4062928 100644 --- a/tlp.spec +++ b/tlp.spec @@ -6,8 +6,6 @@ Summary: Optimize laptop battery life License: GPLv2+ URL: https://linrunner.de/tlp Source0: https://github.com/linrunner/TLP/archive/%{gittag}.tar.gz#/%{name}-%{gittag}.tar.gz -#Provided by Andreas Roederer : -Source1: 50-tlp.preset BuildRequires: make BuildRequires: perl-generators @@ -75,8 +73,6 @@ switching of bluetooth, NFC, Wi-Fi and WWAN radio devices on: #Install manpages: make install-man DESTDIR=%{buildroot} make install-man-rdw DESTDIR=%{buildroot} -#Install preset (source 1): -install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_presetdir}/50-tlp.preset %check appstream-util validate-relax --nonet \ @@ -97,7 +93,6 @@ appstream-util validate-relax --nonet \ %{_udevrulesdir}/../tlp-usb-udev %{_datadir}/bash-completion/completions/* %exclude %{_datadir}/bash-completion/completions/tlp-rdw -%{_presetdir}/50-tlp.preset %{_unitdir}/*.service %{_unitdir}/../system-sleep %{_datadir}/metainfo/*.metainfo.xml @@ -114,23 +109,21 @@ appstream-util validate-relax --nonet \ %post %systemd_post tlp.service -systemctl mask systemd-rfkill.service -systemctl mask power-profiles-daemon.service %preun %systemd_preun tlp.service %postun %systemd_postun_with_restart tlp.service -if [ $1 -eq 0 ] ; then - systemctl unmask systemd-rfkill.service - systemctl unmask power-profiles-daemon.service -fi %post rdw /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : %changelog +* Fri Jan 7 2021 Jeremy Newton - 1.4.0-3 +- Fix some minor issues based on upstream feedback +- Fix fesco issue 2725, RHBZ#2028701 + * Tue Oct 5 2021 Jeremy Newton - 1.4.0-2 - Drop lsb-release dependency (not needed)