Hello community, here is the log from the commit of package tuned for openSUSE:Factory checked in at 2019-01-05 14:42:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tuned (Old) and /work/SRC/openSUSE:Factory/.tuned.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tuned" Sat Jan 5 14:42:09 2019 rev:18 rq:662698 version:2.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tuned/tuned.changes 2018-12-28 12:35:40.147948914 +0100 +++ /work/SRC/openSUSE:Factory/.tuned.new.28833/tuned.changes 2019-01-05 14:42:13.612486930 +0100 @@ -1,0 +2,8 @@ +Thu Jan 3 15:43:38 UTC 2019 - [email protected] + +- Remove sap subpackages entirely for SLE and Leap products. + These conflict with possible other SLE optimized sap subpackages + (bnc#1064832). +- Create systemd tmpfiles correctly for different releases again. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tuned.spec ++++++ --- /var/tmp/diff_new_pack.p73X8E/_old 2019-01-05 14:42:14.804485918 +0100 +++ /var/tmp/diff_new_pack.p73X8E/_new 2019-01-05 14:42:14.836485891 +0100 @@ -1,7 +1,7 @@ # # spec file for package tuned # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,6 @@ # PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch <allow receive_sender="com.redhat.com"/> allow receive_* is normally # not needed as that is the default --<[email protected]> Patch0: fix-allow-receive_sender-default.patch -# Do not own standard directories BuildRequires: bash-completion BuildRequires: desktop-file-utils BuildRequires: pkgconfig @@ -69,6 +68,9 @@ %description gtk GTK GUI that can control tuned and provide simple profile editor. +# Do not ship SAP profiles for SLE and Leap, there are other packages +# providing these profiles +%if !0%{?sle_version} %package profiles-sap Summary: Additional tuned profile(s) targeted to SAP NetWeaver loads Group: System/Base @@ -84,6 +86,7 @@ %description profiles-sap-hana Additional profile(s) for the tuned daemon, targeted to SAP HANA loads. +%endif %package profiles-atomic Summary: Additional tuned profiles targeted to Atomic @@ -160,7 +163,11 @@ %post %service_add_post %{name}.service -%tmpfiles_create %{_tmpfilesdir}/%{name}.conf +%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 @@ -199,6 +206,7 @@ %exclude %{_libexecdir}/tuned/sap-netweaver %exclude %{_libexecdir}/tuned/sap-hana %exclude %{_libexecdir}/tuned/sap-hana-vmware +%exclude %{_mandir}/man7/tuned-profiles-sap*.7.gz %exclude %{_libexecdir}/tuned/atomic-host %exclude %{_libexecdir}/tuned/atomic-guest %exclude %{_libexecdir}/tuned/oracle @@ -241,6 +249,7 @@ %{_datadir}/tuned/ui %{_datadir}/polkit-1/actions/com.redhat.tuned.gui.policy +%if !0%{?sle_version} %files profiles-sap %{_libexecdir}/tuned/sap-netweaver %{_mandir}/man7/tuned-profiles-sap.7%{?ext_man} @@ -249,6 +258,7 @@ %{_libexecdir}/tuned/sap-hana %{_libexecdir}/tuned/sap-hana-vmware %{_mandir}/man7/tuned-profiles-sap-hana.7%{?ext_man} +%endif %files profiles-atomic %{_libexecdir}/tuned/atomic-host
