Accepting request 1081801 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1081801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tuned?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2023-04-21 16:48:01 +00:00 committed by Git OBS Bridge
commit c0642d9f40
7 changed files with 72 additions and 29 deletions

View File

@ -11,9 +11,9 @@
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="localonly" name="set_version"/>
<service name="set_version" mode="localonly"/>
<service name="tar" mode="buildtime"/>
<service mode="buildtime" name="recompress">
<service name="recompress" mode="buildtime">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/redhat-performance/tuned</param>
<param name="changesrevision">b894a3ee3f0e0782963ee1268c819ebc437398d3</param></service></servicedata>
<param name="changesrevision">7b1a20b64c28f75528328a242f49e9bcaed1e857</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0a5eb4f12caa75364e1d7a79b16055d21f2aa80b3b47571f6272ffbfbb5bb6b
size 1017356

BIN
tuned-2.20.0.18+git.7b1a20b.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Fri Apr 14 13:12:27 UTC 2023 - trenn@suse.de
- New polkit interface has been reviewed by security bsc#1185418
- Remove old outdated spec scripts before suse_version 1500
- Separate SAP and related profiles to not be installed in SLE 15 SPx
and older, but add them with openSUSE (as before), ALP and upcoming
SLE distros
- Update to version tuned-2.20.0.18+git.7b1a20b
* scheduler: fix traceback if running with runtime=0
* plugin_scheduler: fix perf fd leaks
* Better log on unsupported hw for pm_qos_resume_latency_us option
* fix-tuned-profiles-adoc-error
* explicitly use /bin/bash for tuned scripts
* set the icon in the about dialog
* install dbus policy in /usr/share/dbus-1
* tuned-adm: better error message for unauthorized switch_profile
* man: updated manual pages to be more consistent
* spec: dropped unneeded ncat dependency
* fix log error
* Report reapplied sysctls only on different values
* Fixing no _evlist attribute when run without daemon
* fix 'is_active' does not work
* new release (2.20.0-rc.1)
* build: fixed FTBFS with python2
* Expose TuneD API to the Unix Domain Socket.
* Inform users about reapplied sysctls
* API: add support for moving devices between instances
* throughput-performance: set net.core.somaxconn to at least 2048
* Adding support for cpu intel_pstate scaling driver
* configparser: use no strict parser to mimic old behavior
* Adding pm_qos_resume_latency_us option for cpu plugin.i
* Makefile: added fix for python-3.12
* D-Bus: only send tracebacks through the D-Bus if in the debug mode
* update vendor_url in policy file
* correct section of the tuned-profiles-openshift manpage
* Allow selecting a different pkg-config executable
* fix tuned/gtk/gui_profile_loader.py spell error
* bootloader: create bootcmdline even when skip_grub_config=true
* profiles: added aws profile for aws ec2 instances
* Closing fd from perf module in scheduler plugin
-------------------------------------------------------------------
Tue Dec 27 15:45:40 UTC 2022 - trenn@suse.de

View File

@ -1,4 +1,4 @@
name: tuned
version: 2.19.0.29+git.b894a3e
mtime: 1670495290
commit: b894a3ee3f0e0782963ee1268c819ebc437398d3
version: 2.20.0.18+git.7b1a20b
mtime: 1680015467
commit: 7b1a20b64c28f75528328a242f49e9bcaed1e857

View File

@ -1,7 +1,7 @@
#
# spec file for package tuned
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define profile_dir %{_prefix}/lib/%{name}
Name: tuned
Version: 2.19.0.29+git.b894a3e
Version: 2.20.0.18+git.7b1a20b
Release: 0
Summary: A dynamic adaptive system tuning daemon
License: GPL-2.0-or-later
@ -140,8 +140,8 @@ Requires: %{name} = %{version}
Additional profile(s) for the tuned daemon, targeted to realtime.
# Do not ship SAP profiles for SLE and Leap, there are other packages
# providing these profiles
%if !0%{?sle_version}
# providing these profiles (starting with ALP these are included again)
%if !0%{?sle_version} || %{?suse_version} >= 1599
%package profiles-sap
Summary: Additional tuned profile(s) targeted to SAP NetWeaver loads
Group: System/Base
@ -185,18 +185,16 @@ rm -rf %{buildroot}%{profile_dir}/{default,desktop-powersave,laptop-ac-powersave
rm %{buildroot}%{_mandir}/man7/tuned-profiles-compat.7
ln -sf service %{buildroot}%{_sbindir}/rctuned
%if 0%{?sle_version} && %{?suse_version} < 1599
rm -r %{buildroot}%{_prefix}/lib/tuned/sap-netweaver
rm -r %{buildroot}%{_prefix}/lib/tuned/sap-hana
rm %{buildroot}%{_mandir}/man7/tuned-profiles-sap.7
rm %{buildroot}%{_mandir}/man7/tuned-profiles-sap-hana.7
%endif
%post
%service_add_post %{name}.service
%if 0%{?suse_version} <= 1320
systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf >/dev/null 2>&1 || :
%else
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
%endif
# convert active_profile from full path to name (if needed)
sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' %{_sysconfdir}/tuned/active_profile
%if 0%{?suse_version} < 1500
%desktop_database_post
%endif
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
%pre
%service_add_pre %{name}.service
@ -214,9 +212,6 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' %{_sysconfdir}/tuned/active_profile
%postun
%service_del_postun %{name}.service
%if 0%{?suse_version} < 1500
%desktop_database_postun
%endif
%files
%license COPYING
@ -237,9 +232,16 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' %{_sysconfdir}/tuned/active_profile
%{profile_dir}/recommend.d/50-tuned.conf
%{profile_dir}/defirqaffinity.py
%if 0%{?sle_version} && %{?suse_version} < 1599
%exclude %{_prefix}/lib/tuned/sap-netweaver
%exclude %{_prefix}/lib/tuned/sap-hana
%exclude %{_mandir}/man7/tuned-profiles-sap.7%{?ext_man}
%exclude %{_mandir}/man7/tuned-profiles-sap-hana.7%{?ext_man}
%endif
# Profiles included in main package - alphabetically sorted
%{profile_dir}/accelerator-performance
%{profile_dir}/balanced
%{profile_dir}/aws
%{profile_dir}/balanced
%{profile_dir}/cpu-partitioning
%{profile_dir}/cpu-partitioning-powersave
@ -274,7 +276,6 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' %{_sysconfdir}/tuned/active_profile
%dir %{_sysconfdir}/tuned
%{_mandir}/man5/tuned*
%{_mandir}/man7/tuned-profiles-cpu-partitioning.7%{?ext_man}
%{_mandir}/man7/tuned-profiles-cpu-partitioning-powersave.7%{?ext_man}
%{_mandir}/man7/tuned-profiles.7%{?ext_man}
%{_mandir}/man7/tuned-profiles-mssql.7%{?ext_man}
%{_mandir}/man8/tuned*
@ -294,7 +295,7 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' %{_sysconfdir}/tuned/active_profile
%{python3_sitelib}/tuned/gtk
%{_datadir}/tuned/ui
%if !0%{?sle_version}
%if !0%{?sle_version} || %{?suse_version} >= 1599
%files profiles-sap
%{profile_dir}/sap-netweaver
%{_mandir}/man7/tuned-profiles-sap.7%{?ext_man}