Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tlp for openSUSE:Factory checked in at 2022-07-02 15:34:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tlp (Old) and /work/SRC/openSUSE:Factory/.tlp.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tlp" Sat Jul 2 15:34:32 2022 rev:22 rq:986288 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tlp/tlp.changes 2021-12-10 21:53:10.178913385 +0100 +++ /work/SRC/openSUSE:Factory/.tlp.new.1548/tlp.changes 2022-07-02 15:34:35.491022193 +0200 @@ -1,0 +2,57 @@ +Mon May 23 09:47:56 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de> + +- Fix SourceURL (misplaced space) for Factory submission + +------------------------------------------------------------------- +Wed May 18 16:15:17 UTC 2022 - Stefan Schubert <sch...@suse.de> + +- Moved 99tlp-rdw-nm from user specif directory + /etc/NetworkManager/dispatcher.d to vendor specific directory + /usr/lib/NetworkManager/dispatcher.d. So, users changes can + still be done in /etc and will not be overwritten by an update. + +------------------------------------------------------------------- +Fri Apr 18 13:35:05 UTC 2022 - popov...@ukr.net + +- Due to conflicts with rfkill, we need to additionally mask the systemd-rfkill.socket +- Update to 1.5.0 07.01.2022 +- * Features + Battery: + - Sony laptops: stop threshold 50/80/100% aka "battery care limiter" + - ThinkPads: + - Use new sysfs attribute 'charge_behaviour' for recalibration + - Support T400 running coreboot via natacpi (Issue #601) + - tlp-stat -b: display "cycle_count = 0" with the note "or not supported" + Radio Devices: + - Add support for switching NFC devices + - Remove support for wireless-tools (iwconfig) +- * Bugfixes + tlp-stat: + - drop PM_RUNTIME=y kernel config recommendation + Battery: + - ASUS laptops: apply stop threshold reliably on boot and after hibernate + (Issue #589) + Disks: + - tlp-stat -d: display correct sysfs path for disk runtime pm: + /sys/block/<DISK>/device/power/control (Issue #606) + +------------------------------------------------------------------- +Tue Dec 28 10:04:15 UTC 2021 - l...@linux-schulserver.de - 1.4.0 + +- package bash completions for tlp-rdw in the corresponding + sub-package (bsc#1180496) +- add tlp-rpmlintrc to mark some rpmlint warnings as known good +- Fix bsc#1181279, bsc#1179635, bsc#1177313 - Failed to preset + unit: Unit file tlp-sleep.service does not exist. +- As tlp somehow conflicts with rfkill and power-profiles-daemon + running at the same time, lets mask these services, when tlp is + installed. ...and obviously unmask them again on uninstall. +- Require at least NetworkManager >= 1.20 +- define _udev(,rules)dir, if not already set (for Leap) +- Pre-Require systemd (and BuildRequire systemd-rpm-macros) for + completeness +- tlp is not activated per default (bsc#1183235), as it may conflict + with other Laptop mode tools. At the moment, users have to manually + activate the service via 'sudo systemctl enable --now tlp.service' + +------------------------------------------------------------------- Old: ---- TLP-1.4.0.tar.gz New: ---- TLP-1.5.0.tar.gz tlp-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tlp.spec ++++++ --- /var/tmp/diff_new_pack.WJsV9Q/_old 2022-07-02 15:34:36.215023280 +0200 +++ /var/tmp/diff_new_pack.WJsV9Q/_new 2022-07-02 15:34:36.219023285 +0200 @@ -1,7 +1,7 @@ # # spec file for package tlp # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,25 @@ %define _name TLP -%define _udevdir %(pkg-config --variable udev_dir udev) +%define systemd_sleepdir %{_unitdir}/system-sleep +%if 0%{?suse_version} > 01500 +%define _udevdir %(pkg-config --variable udev_dir udev || echo %{_prefix}/lib/udev) +%else +%{!?_udevdir: %define _udevdir %{_prefix}/lib/udev} +%endif +%{!?_udevrulesdir: %define _udevrulesdir %{_udevdir}/rules.d} + Name: tlp -Version: 1.4.0 +Version: 1.5.0 Release: 0 Summary: Tools to save battery power on laptops License: GPL-2.0-or-later AND GPL-3.0-or-later Group: Hardware/Mobile URL: http://linrunner.de/tlp Source: https://github.com/linrunner/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz +Source10: tlp-rpmlintrc BuildRequires: gzip +BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(udev) Requires: hdparm Requires: iw @@ -34,11 +43,13 @@ Requires: rfkill Requires: usbutils Requires: util-linux >= 2.17 +Requires(pre): systemd Recommends: %{name}-rdw = %{version} Recommends: ethtool Recommends: lsb-release Recommends: smartmontools Conflicts: laptop-mode-tools +Conflicts: power-profiles-daemon BuildArch: noarch %{?systemd_ordering} @@ -50,8 +61,10 @@ %package rdw Summary: TLP Radio Device Wizard Group: Hardware/Mobile -Requires: NetworkManager +Requires: NetworkManager >= 1.20 Requires: tlp = %{version} +Requires(pre): systemd +BuildArch: noarch %description rdw TLP implements advanced power management for Linux. @@ -75,63 +88,77 @@ TLP_NO_INIT=1 \ TLP_ULIB=%{_udevdir} \ TLP_SYSD=%{_unitdir} \ - TLP_SDSL=%{_unitdir}/system-sleep -make install-man \ - DESTDIR=%{buildroot} -make install-man-rdw \ - DESTDIR=%{buildroot} + TLP_SDSL=%{systemd_sleepdir} + +make install-man DESTDIR=%{buildroot} +make install-man-rdw DESTDIR=%{buildroot} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rctlp +mkdir -p %{buildroot}%{_prefix}/lib/NetworkManager/dispatcher.d +mv %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/99tlp-rdw-nm %{buildroot}%{_prefix}/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm %pre -%service_add_pre %{name}.service +%service_add_pre tlp.service %post -%service_add_post %{name}.service +%service_add_post tlp.service +/usr/bin/systemctl mask systemd-rfkill.service +/usr/bin/systemctl mask systemd-rfkill.socket +/usr/bin/systemctl mask power-profiles-daemon.service %postun -%service_del_postun %{name}.service +%service_del_postun tlp.service +if [ $1 -eq 0 ] ; then + /usr/bin/systemctl unmask systemd-rfkill.service + /usr/bin/systemctl unmask systemd-rfkill.socket + /usr/bin/systemctl unmask power-profiles-daemon.service +fi %preun -%service_del_preun %{name}.service +%service_del_preun tlp.service + +%post rdw +/usr/bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : %files %license COPYING LICENSE %doc AUTHORS changelog README.rst -%config(noreplace) %{_sysconfdir}/%{name}.conf %dir %{_sysconfdir}/%{name}.d +%dir %{systemd_sleepdir} +%dir %{_datadir}/metainfo/ +%dir %{_datadir}/bash-completion/ +%dir %{_datadir}/bash-completion/completions/ +%config(noreplace) %{_sysconfdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}.d/00-template.conf %{_sysconfdir}/%{name}.d/README -%dir %{_unitdir}/system-sleep -%{_unitdir}/system-sleep/tlp +%{systemd_sleepdir}/tlp %{_bindir}/bluetooth %{_bindir}/run-on-{ac,bat} %{_bindir}/%{name}-stat +%{_bindir}/nfc %{_bindir}/wifi %{_bindir}/wwan %{_sbindir}/%{name} %{_sbindir}/rc%{name} %{_unitdir}/%{name}.service %{_datadir}/%{name}/ -%dir %{_datadir}/metainfo/ %{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml %{_udevdir}/%{name}-usb-udev %{_udevrulesdir}/85-%{name}.rules %{_localstatedir}/lib/%{name}/ -%dir %{_datadir}/bash-completion/ -%dir %{_datadir}/bash-completion/completions/ -%{_datadir}/bash-completion/completions/bluetooth -%{_datadir}/bash-completion/completions/%{name}* -%{_datadir}/bash-completion/completions/wifi -%{_datadir}/bash-completion/completions/wwan +%{_datadir}/bash-completion/completions/* +%exclude %{_datadir}/bash-completion/completions/tlp-rdw %{_mandir}/man?/*.?%{?ext_man} %exclude %{_mandir}/man8/%{name}-rdw.8%{?ext_man} %files rdw -%{_sysconfdir}/NetworkManager/ +%dir %{_prefix}/lib/NetworkManager +%dir %{_prefix}/lib/NetworkManager/dispatcher.d +%attr(0755,root,root) %{_prefix}/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm %{_bindir}/%{name}-rdw %{_udevrulesdir}/85-%{name}-rdw.rules %{_udevdir}/%{name}-rdw-udev %{_mandir}/man8/%{name}-rdw.8%{?ext_man} +%{_datadir}/bash-completion/completions/%{name}-rdw %changelog ++++++ TLP-1.4.0.tar.gz -> TLP-1.5.0.tar.gz ++++++ ++++ 3296 lines of diff (skipped) ++++++ tlp-rpmlintrc ++++++ # README contains some words about drop-in customizations for TLP. addFilter("non-conffile-in-etc.*/etc/tlp.d/README");