diff --git a/tlp.spec b/tlp.spec index 5df39a0..ff9be8b 100644 --- a/tlp.spec +++ b/tlp.spec @@ -1,5 +1,5 @@ Name: tlp -Version: 1.1 +Version: 1.2.1 Release: 1mamba Summary: Command line advanced power management Group: System/Management @@ -36,6 +36,21 @@ mv %{buildroot}/lib/udev/tlp-* %{buildroot}/%{_libdir}/udev/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%preun +%systemd_preun tlp +%systemd_preun tlp-sleep +: + +%post +%systemd_post tlp +%systemd_post tlp-sleep +: + +%postun +%systemd_postun tlp +%systemd_postun tlp-sleep +: + %files %defattr(-,root,root) %{_sysconfdir}/NetworkManager/dispatcher.d/99tlp-rdw-nm @@ -51,19 +66,20 @@ mv %{buildroot}/lib/udev/tlp-* %{buildroot}/%{_libdir}/udev/ %{_bindir}/tlp-usblist %{_bindir}/wifi %{_bindir}/wwan -%{_prefix}/lib/pm-utils/sleep.d/49tlp %{_sbindir}/tlp -%{_datadir}/bash-completion/completions/bluetooth -%{_datadir}/bash-completion/completions/tlp -%{_datadir}/bash-completion/completions/tlp-stat -%{_datadir}/bash-completion/completions/wifi -%{_datadir}/bash-completion/completions/wwan +%{_unitdir}/tlp-sleep.service +%{_unitdir}/tlp.service +%{_bindir}/tlp-rdw +%{_datadir}/bash-completion/completions/* %{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml %dir %{_datadir}/tlp %{_datadir}/tlp/* %doc AUTHORS COPYING LICENSE %changelog +* Mon Mar 25 2019 Automatic Build System 1.2.1-1mamba +- automatic version update by autodist + * Mon Feb 12 2018 Automatic Build System 1.1-1mamba - automatic version update by autodist