Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tlp for openSUSE:Factory checked in at 2026-01-26 11:00:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tlp (Old) and /work/SRC/openSUSE:Factory/.tlp.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tlp" Mon Jan 26 11:00:44 2026 rev:27 rq:1327348 version:1.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/tlp/tlp.changes 2025-02-20 16:34:37.983617490 +0100 +++ /work/SRC/openSUSE:Factory/.tlp.new.1928/tlp.changes 2026-01-26 11:00:56.210480148 +0100 @@ -1,0 +2,125 @@ +Wed Jan 14 12:01:10 UTC 2026 - Thomas Renninger <[email protected]> + +- Make completion pkgs require their command providing pkg + https://build.opensuse.org/requests/1326947 (as reviewed by darix) +- Remove unusued /%localstatedir/lib/tlp from files section + +------------------------------------------------------------------- +Mon Jan 12 14:47:44 UTC 2026 - Thomas Renninger <[email protected]> + +- Update to version 1.9.1: + * *** 1.9.1 Release *** + * tlp-stat -s: align output + * Fix RESTORE_THRESHOLDS_ON_BAT + * tlp-pd: limit simultaneous holds to 16 + * tlp-pd: add polkit auth for SyncProfile(), ReleaseProfile() + * tlp-pd: make hold cookies unpredictable + * tlp-pd: fix polkit authentication bypass concerning profile/loglevel +- Last (auto) change fixes CVE-2025-67859 - bsc#1254768 +- Removed compressed zst tarball, tarball creation is done on server side + by recompress services + +------------------------------------------------------------------- +Tue Dec 30 16:46:03 UTC 2025 - Luan C. Adão <[email protected]> + +- Enhance packaging: + Split tlp-pd into a subpackage. + Shell completions subpackages. + +------------------------------------------------------------------- +Thu Dec 4 03:15:03 UTC 2025 - Splyffer <[email protected]> + +- Update to 1.9.0 +* Features + Power Profiles: + - tlp-pd: TLP Profiles Daemon is a new addition to TLP. It implements + the D-Bus interface, which lets desktop environments show a + power profile switch. Together with TLP as the backend for applying + these profiles, it replaces power-profiles-daemon. + - Introduce a third configuration profile for maximum power savings + and make tlp-pd possible. The following are now available: + - performance: parameters ending in _AC are used when AC power + is connected or when the new command 'tlp performance' is run. + - balanced: parameters ending in _BAT are used when operating + on battery power or when the new command 'tlp balanced' is run. + - power-saver: parameters ending in _SAV are used when the new command + 'tlp power-saver' is run. If there is no _SAV parameter available + for a feature, the _BAT parameter will be used instead. + - tlpctl: new command to switch between power profiles, launch applications + with specific profiles and control tlp-pd. + It offers a subset of powerprofilesctl's commands supplemented by + TLP-specific shortcuts. + - TLP_AUTO_SWITCH: controls the automatic switching of the power profile + when the charger is connected or removed (even during a suspend). + The Innovation (and new default) is a "smart" mode that can retain a + manually selected profile when the power source changes. + - Use the TLP_DEFAULT_MODE profile when automatic switching is disabled. + - tlp-stat --pd-diag: show tlp-pd diagnostic + - tlp: drop the commands 'false' and 'true', which have been superseded + by 'ac' and 'bat' for ages + - tlp-stat --pd-diag: display active desktop session + + Battery Care: + - Tuxedo laptops supported by the clevo_acpi out-of-tree driver from + tuxedo-drivers: start and stop threshold (Issue #803); + only models with a Clevo ODM chassis are compatible, + check the tlp-stat -b output to find out if yours is + - tlp-stat -b: advertise chargeonce, discharge, recalibrate features + individually + General: + - TLP_DISABLE_DEFAULTS: deactivate all intrinsic defaults so that + only settings that have been explicitly activated are applied; + helpful to use only selected features + - tlp-stat -s: unified representation of tlp/tlp-rdw/tlp-pd's status + - tlp-stat --trace-nm: show the journal entries for NetworkManager + correlated with TLP's trace output, supplemented with device details + for NetworkManager and rfkill + - Response to invalid subcommands/options: output not only “Usage:” + but also “Error:” + Graphics: + - New parameter for the power-saver profile: AMDGPU_ABM_LEVEL_ON_SAV + - tlp-stat -g -v: show power state and clocks of AMD GPUs + - RADEON_POWER_PROFILE_ON_AC/BAT removed (deprecated since 1.8.0) + Processor: + - PLATFORM_PROFILE_ON_AC/BAT/SAV: activated by default + - New parameters for the power-saver profile: + - CPU_DRIVER_OPMODE_ON_SAV + - CPU_SCALING_GOVERNOR_ON_SAV + - CPU_SCALING_MIN/MAX_FREQ_ON_SAV + - CPU_MIN/MAX_PERF_ON_SAV + - CPU_BOOST_ON_SAV + - CPU_HWP_DYN_BOOST_ON_SAV + - tlp-stat -p: add to display per core: + - amd_pstate_lowest_nonlinear_freq, amd_pstate_max_freq + - (-v) scaling_cur_freq (current core frequency) + - (-v) amd_pstate_hw_prefcore, amd_pstate_prefcore_ranking + - tlp-stat -t -v: show all individual temperature/fan sensors + Radio Devices: + - bluetooth/nfc/wifi/wwan: add command 'cycle', equivalent of 'toggle' twice + - DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE: Fix the disabling of nfc + (Issue #808) + - tlp-stat -s: warn if RDW is configured but tlp-rdw is not installed + - tlp-stat -r -v: show device details for NetworkManager and rfkill + + * Bugfixes + Battery Care: + - Chromebooks, Framework laptops: fix tlp discharge to a target percentage + - ThinkPads: + - Fix X201, X220 discharge (Issue #793) + - Fix bash completion for tlp discharge on tp-smapi models + - Detect coreboot more reliable via DMI bios_vendor + - tlp-stat -b: + - Fix X13s Gen 1 ARM data read out (Issue #807) + - Do not wrongly recommend kernel 5.17 if coreboot is detected, + as coreboot does not implement discharge anyway + Radio Devices: + - Ensure clean wifi/wwan switching by keeping the status of + NetworkManager and TLP in sync + - bluetooth/nfc/wifi/wwan: restore device status display + Disks: + - Fix double processing of plugged USB disks + - tlp-stat -d: fix anonymization of newish NVMe disk ids + Operation: + - run-on-ac/bat: fix power source detection (regression in 1.9.0-beta.1) + +------------------------------------------------------------------- Old: ---- TLP-1.8.0.tar.gz New: ---- TLP-1.9.1.obscpio TLP.obsinfo _service _servicedata ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tlp.spec ++++++ --- /var/tmp/diff_new_pack.BgqGU4/_old 2026-01-26 11:00:57.598539862 +0100 +++ /var/tmp/diff_new_pack.BgqGU4/_new 2026-01-26 11:00:57.598539862 +0100 @@ -1,7 +1,7 @@ # # spec file for package tlp # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,13 +25,13 @@ %endif %{!?_udevrulesdir: %define _udevrulesdir %{_udevdir}/rules.d} Name: tlp -Version: 1.8.0 +Version: 1.9.1 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: https://linrunner.de/tlp -Source: https://github.com/linrunner/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz +Source: TLP-%{version}.tar.zst Source10: tlp-rpmlintrc BuildRequires: gzip BuildRequires: pkgconfig @@ -44,6 +44,7 @@ Requires: usbutils Requires: util-linux >= 2.17 Requires(pre): systemd +Recommends: %{name}-pd = %{version} Recommends: %{name}-rdw = %{version} Recommends: ethtool Recommends: lsb-release @@ -55,24 +56,137 @@ %{?systemd_ordering} %description -TLP implements advanced power management for Linux. -TLP is a pure command line tool with automated background tasks. -It does not contain a GUI. +TLP is a feature-rich command-line utility, saving laptop battery power +without the need to delve deeper into technical details. + +TLP’s default settings are already optimized for battery life and implement +Powertop’s recommendations out of the box. Moreover TLP is highly +customizable to fulfill specific user requirements. + +Settings are organized into two profiles, allowing to adjust between +savings and performance independently for battery (BAT) and AC operation. +In addition TLP can enable or disable Bluetooth, NFC, Wi-Fi and WWAN radio +devices on boot. + +For ThinkPads and selected other laptops it provides a unified way +to configure charge thresholds and re-calibrate the battery. + +%package bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description bash-completion +The official bash completion script for %{name}. + +%package fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and fish) +BuildArch: noarch + +%description fish-completion +The official fish completion script for %{name}. + +%package zsh-completion +Summary: ZSH Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description zsh-completion +The official zsh completion script for %{name}. %package rdw Summary: TLP Radio Device Wizard Group: Hardware/Mobile +Requires: %{name} = %{version} Requires: NetworkManager >= 1.20 -Requires: tlp = %{version} Requires(pre): systemd BuildArch: noarch %description rdw -TLP implements advanced power management for Linux. -TLP is a pure command line tool with automated background tasks. -It does not contain a GUI. +Radio device wizard is an add-on to TLP. It provides event based +switching of Bluetooth, NFC, Wi-Fi and WWAN radio devices on: + - network connect/disconnect + - dock/undock + +%package rdw-bash-completion +Summary: Bash Completion for %{name}-rdw +Group: System/Shells +Requires: %{name}-rdw = %{version} +Requires: bash-completion +Supplements: (%{name}-rdw and bash-completion) +BuildArch: noarch + +%description rdw-bash-completion +The official bash completion script for %{name}-rdw. + +%package rdw-fish-completion +Summary: Fish Completion for %{name}-rdw +Group: System/Shells +Requires: %{name}-rdw = %{version} +Supplements: (%{name}-rdw and fish) +BuildArch: noarch -Switch radios upon network connect/disconnect and dock/undock. +%description rdw-fish-completion +The official fish completion script for %{name}-rdw. + +%package rdw-zsh-completion +Summary: ZSH Completion for %{name}-rdw +Group: System/Shells +Requires: %{name}-rdw = %{version} +Supplements: (%{name}-rdw and zsh) +BuildArch: noarch + +%description rdw-zsh-completion +The official zsh completion script for %{name}-rdw. + +%package pd +Summary: TLP Power Profiles Daemon +Group: Hardware/Mobile +Requires: %{name} = %{version} +Requires(pre): systemd +BuildArch: noarch + +%description pd +Power Profiles Daemon replacement for TLP. + +%package -n tlpctl-bash-completion +Summary: Bash Completion for tlpctl +Group: System/Shells +Requires: %{name}-pd = %{version} +Requires: bash-completion +Supplements: (%{name}-pd and bash-completion) +BuildArch: noarch + +%description -n tlpctl-bash-completion +The official bash completion script for tlpctl. + +%package -n tlpctl-fish-completion +Summary: Fish Completion for tlpctl +Group: System/Shells +Requires: %{name}-pd = %{version} +Supplements: (%{name}-pd and fish) +BuildArch: noarch + +%description -n tlpctl-fish-completion +The official fish completion script for tlpctl. + +%package -n tlpctl-zsh-completion +Summary: ZSH Completion for tlpctl +Group: System/Shells +Requires: %{name}-pd = %{version} +Supplements: (%{name}-pd and zsh) +BuildArch: noarch + +%description -n tlpctl-zsh-completion +The official zsh completion script for tlpctl. %prep %setup -q -n %{_name}-%{version} @@ -96,6 +210,7 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rctlp + %pre %service_add_pre tlp.service @@ -119,6 +234,18 @@ %post rdw %{_bindir}/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : +%pre pd +%service_add_pre tlp-pd.service + +%post pd +%service_add_post tlp-pd.service + +%postun pd +%service_del_postun tlp-pd.service + +%preun pd +%service_del_preun tlp-pd.service + %files %license COPYING LICENSE %doc AUTHORS changelog README.rst @@ -148,15 +275,27 @@ %{_datadir}/metainfo/de.linrunner.tlp.metainfo.xml %{_udevdir}/%{name}-usb-udev %{_udevrulesdir}/85-%{name}.rules -%{_localstatedir}/lib/%{name}/ +%{_mandir}/man?/*.?%{?ext_man} +%exclude %{_mandir}/man8/%{name}-rdw.8%{?ext_man} +%exclude %{_mandir}/man1/tlpctl.1%{?ext_man} +%exclude %{_mandir}/man8/%{name}-pd.8%{?ext_man} +%exclude %{_mandir}/man8/%{name}-pd.service.8%{?ext_man} + +%files bash-completion +#%{_datadir}/bash-completion/completions/tlp.bash_completion %{_datadir}/bash-completion/completions/* %exclude %{_datadir}/bash-completion/completions/tlp-rdw +%exclude %{_datadir}/bash-completion/completions/tlpctl + +%files zsh-completion %{_datadir}/zsh/site-functions/* %exclude %{_datadir}/zsh/site-functions/_tlp-rdw -%{_mandir}/man?/*.?%{?ext_man} -%exclude %{_mandir}/man8/%{name}-rdw.8%{?ext_man} +%exclude %{_datadir}/zsh/site-functions/_tlpctl + +%files fish-completion %{_datadir}/fish/vendor_completions.d/* %exclude %{_datadir}/fish/vendor_completions.d/tlp-rdw.fish +%exclude %{_datadir}/fish/vendor_completions.d/tlpctl.fish %files rdw %dir %{_prefix}/lib/NetworkManager @@ -166,7 +305,35 @@ %{_udevrulesdir}/85-%{name}-rdw.rules %{_udevdir}/%{name}-rdw-udev %{_mandir}/man8/%{name}-rdw.8%{?ext_man} + +%files rdw-bash-completion %{_datadir}/bash-completion/completions/%{name}-rdw + +%files rdw-zsh-completion %{_datadir}/zsh/site-functions/_%{name}-rdw + +%files rdw-fish-completion %{_datadir}/fish/vendor_completions.d/%{name}-rdw.fish +%files pd +%{_bindir}/tlpctl +%{_sbindir}/tlp-pd +%{_unitdir}/%{name}-pd.service +%{_mandir}/man1/tlpctl.1%{?ext_man} +%{_mandir}/man8/%{name}-pd.8%{?ext_man} +%{_mandir}/man8/%{name}-pd.service.8%{?ext_man} +%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service +%{_datadir}/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service +%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf +%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf +%{_datadir}/polkit-1/actions/tlp-pd.policy + +%files -n tlpctl-bash-completion +%{_datadir}/bash-completion/completions/tlpctl + +%files -n tlpctl-zsh-completion +%{_datadir}/zsh/site-functions/_tlpctl + +%files -n tlpctl-fish-completion +%{_datadir}/fish/vendor_completions.d/tlpctl.fish + ++++++ TLP.obsinfo ++++++ name: TLP version: 1.9.1 mtime: 1767774026 commit: fc87251e2c5325acfbc2d59f4063f74d80916f76 ++++++ _service ++++++ <services> <service mode="manual" name="obs_scm"> <param name="url">https://github.com/linrunner/TLP.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> <param name="revision">1.9.1</param> <param name="versionrewrite-pattern">(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> <param name="changesgenerate">enable</param> </service> <service mode="manual" name="set_version" /> <service mode="buildtime" name="tar" /> <service mode="buildtime" name="recompress"> <param name="file">*.tar</param> <param name="compression">zst</param> </service> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/linrunner/TLP.git</param> <param name="changesrevision">fc87251e2c5325acfbc2d59f4063f74d80916f76</param></service></servicedata> (No newline at EOF)
