diff --git a/_service b/_service
index dfc194e..6ec23b9 100644
--- a/_service
+++ b/_service
@@ -11,9 +11,9 @@
v(.*)
enable
-
+
-
+
xz
*.tar
diff --git a/_servicedata b/_servicedata
index a88377d..070c09f 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/redhat-performance/tuned
- b894a3ee3f0e0782963ee1268c819ebc437398d3
\ No newline at end of file
+ 7b1a20b64c28f75528328a242f49e9bcaed1e857
\ No newline at end of file
diff --git a/tuned-2.19.0.29+git.b894a3e.obscpio b/tuned-2.19.0.29+git.b894a3e.obscpio
deleted file mode 100644
index 5094eef..0000000
--- a/tuned-2.19.0.29+git.b894a3e.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b0a5eb4f12caa75364e1d7a79b16055d21f2aa80b3b47571f6272ffbfbb5bb6b
-size 1017356
diff --git a/tuned-2.20.0.18+git.7b1a20b.obscpio b/tuned-2.20.0.18+git.7b1a20b.obscpio
new file mode 100644
index 0000000..d305e46
--- /dev/null
+++ b/tuned-2.20.0.18+git.7b1a20b.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:aace63527966abd2c2a42a62209ab5b376d585ff301a304ae4882e3fdb29e4c7
+size 1053196
diff --git a/tuned.changes b/tuned.changes
index f11b14b..b191f84 100644
--- a/tuned.changes
+++ b/tuned.changes
@@ -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
diff --git a/tuned.obsinfo b/tuned.obsinfo
index 01d7eb5..ec871b2 100644
--- a/tuned.obsinfo
+++ b/tuned.obsinfo
@@ -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
diff --git a/tuned.spec b/tuned.spec
index 92419dd..568cb1a 100644
--- a/tuned.spec
+++ b/tuned.spec
@@ -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}