commit tuned for openSUSE:Factory

2020-08-20 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2020-08-20 22:34:33

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.3399 (New)


Package is "tuned"

Thu Aug 20 22:34:33 2020 rev:25 rq:828256 version:2.13.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2020-06-16 
13:47:30.434480325 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new.3399/tuned.changes2020-08-20 
22:34:42.600146364 +0200
@@ -1,0 +2,9 @@
+Wed Aug 19 11:30:17 UTC 2020 - Dominique Leuenberger 
+
+- Dot not mangle _tmpfilesdir: all half-way decent distros define
+  this already.
+- Define profile_dir as %{_libexecdir}/%{name}: stay closer in line
+  with what upstream actually coded (with the change of libexecdir
+  to /usr/libexec in Tumbleweed, we are in the equal path now).
+
+---



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.Y00JKn/_old  2020-08-20 22:34:43.584146824 +0200
+++ /var/tmp/diff_new_pack.Y00JKn/_new  2020-08-20 22:34:43.588146826 +0200
@@ -16,9 +16,7 @@
 #
 
 
-%{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
-
-%define profile_dir %{_prefix}/lib/%{name}
+%define profile_dir %{_libexecdir}/%{name}
 
 Name:   tuned
 Version:2.13.0




commit tuned for openSUSE:Factory

2020-06-16 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2020-06-16 13:46:49

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.3606 (New)


Package is "tuned"

Tue Jun 16 13:46:49 2020 rev:24 rq:814885 version:2.13.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2020-02-05 
19:42:05.535278846 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new.3606/tuned.changes2020-06-16 
13:47:30.434480325 +0200
@@ -1,0 +2,6 @@
+Thu Jun 11 14:34:09 UTC 2020 - Aaron Puchert 
+
+- Update to version 2.13.0. Note that the previous version was not
+  in fact 2.22.0, but commit 8c9df99, 28 commits before 2.13.0.
+
+---

Old:

  tuned-2.22.0.tar.xz

New:

  tuned-2.13.0.tar.gz



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.MleC6s/_old  2020-06-16 13:47:31.898485263 +0200
+++ /var/tmp/diff_new_pack.MleC6s/_new  2020-06-16 13:47:31.902485277 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tuned
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,14 +21,13 @@
 %define profile_dir %{_prefix}/lib/%{name}
 
 Name:   tuned
-Version:2.22.0
+Version:2.13.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0-or-later
 Group:  System/Base
 URL:https://github.com/redhat-performance/tuned
-#Source0:
https://github.com/redhat-performance/tuned/archive/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
-Source0:%{name}-%{version}.tar.xz
+Source0:
https://github.com/redhat-performance/tuned/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:tuned.rpmlintrc
 # PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch  allow receive_* is normally
 # not needed as that is the default --

++ _service ++
--- /var/tmp/diff_new_pack.MleC6s/_old  2020-06-16 13:47:31.954485452 +0200
+++ /var/tmp/diff_new_pack.MleC6s/_new  2020-06-16 13:47:31.954485452 +0200
@@ -3,9 +3,9 @@
 git
 https://github.com/redhat-performance/tuned
 
-2.22.0
+2.13.0
 disable
   
   




commit tuned for openSUSE:Factory

2020-02-05 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2020-02-05 19:42:00

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.26092 (New)


Package is "tuned"

Wed Feb  5 19:42:00 2020 rev:23 rq:770179 version:2.22.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2019-11-28 
10:15:07.279637775 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new.26092/tuned.changes   2020-02-05 
19:42:05.535278846 +0100
@@ -1,0 +2,9 @@
+Mon Feb  3 09:37:57 UTC 2020 - tr...@suse.de
+
+- Add /etc/dbus-1/system.d directory to file section as done in other
+  packages (double checked with wicked) to avoid build error:
+  tuned-2.4.1-9.10.1.noarch.rpm: directories not owned by a package:
+ - /etc/dbus-1
+ - /etc/dbus-1/system.d
+
+---



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.0ackVq/_old  2020-02-05 19:42:06.187279157 +0100
+++ /var/tmp/diff_new_pack.0ackVq/_new  2020-02-05 19:42:06.191279158 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tuned
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -191,6 +191,8 @@
 %endif
 
 %files
+%dir %_sysconfdir/dbus-1
+%dir %_sysconfdir/dbus-1/system.d
 %dir %{_sysconfdir}/modprobe.d
 %license COPYING
 %doc AUTHORS README




commit tuned for openSUSE:Factory

2019-11-28 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2019-11-28 10:14:33

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.26869 (New)


Package is "tuned"

Thu Nov 28 10:14:33 2019 rev:22 rq:751331 version:2.22.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2019-07-02 
10:39:19.64874 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new.26869/tuned.changes   2019-11-28 
10:15:07.279637775 +0100
@@ -1,0 +2,12 @@
+Tue Nov 26 11:22:52 UTC 2019 - tr...@suse.de
+
+- Update to latest 2.22.0 release
+  includes bug fix for bsc#1139249
+- Use self defined profile_dir instead of _libexecdir
+- Always add pmqos-static.py
+  This was wrongly bound to profiles-nfv package
+- Remove defirqaffinity
+  It is not called anymore. Merge request pending:
+  https://github.com/redhat-performance/tuned/pull/223
+
+---

Old:

  tuned-2.12.0.tar.xz

New:

  tuned-2.22.0.tar.xz



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.g2bjXc/_old  2019-11-28 10:15:07.955637782 +0100
+++ /var/tmp/diff_new_pack.g2bjXc/_new  2019-11-28 10:15:07.959637782 +0100
@@ -17,8 +17,11 @@
 
 
 %{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
+
+%define profile_dir %{_prefix}/lib/%{name}
+
 Name:   tuned
-Version:2.12.0
+Version:2.22.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0-or-later
@@ -50,7 +53,6 @@
 Requires:   python3-pyudev
 Requires:   util-linux
 Requires:   virt-what
-Obsoletes:  pm-profiler
 BuildArch:  noarch
 %{?systemd_requires}
 
@@ -152,14 +154,14 @@
 %build
 # The tuned daemon is written in pure Python. Nothing requires to be built.
 # Just a hack to avoid installation in a wrong directory
-sed -i 's|usr/libexec/tuned|%{_libexecdir}/%{name}|' Makefile
+sed -i 's|usr/libexec/tuned|%{profile_dir}|' Makefile
 
 %install
-%make_install
+%make_install TUNED_PROFILESDIR=%{profile_dir}
 %py3_compile %{buildroot}/%{python3_sitelib}
 rm -rf %{buildroot}/%{_datadir}/doc
 # Remove unwanted stuff instead of excluding them in files list
-rm -rf 
%{buildroot}%{_libexecdir}/%{name}/{default,desktop-powersave,laptop-ac-powersave,server-powersave,laptop-battery-powersave,enterprise-storage,spindown-disk}
+rm -rf 
%{buildroot}%{profile_dir}/{default,desktop-powersave,laptop-ac-powersave,server-powersave,laptop-battery-powersave,enterprise-storage,spindown-disk}
 rm %{buildroot}%{_mandir}/man7/tuned-profiles-compat.7
 ln -sf service %{buildroot}%{_sbindir}/rctuned
 
@@ -189,7 +191,6 @@
 %endif
 
 %files
-
 %dir %{_sysconfdir}/modprobe.d
 %license COPYING
 %doc AUTHORS README
@@ -203,17 +204,18 @@
 %exclude %{_sysconfdir}/tuned/realtime-variables.conf
 %exclude %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
 %exclude %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
-%exclude %{_libexecdir}/tuned/realtime-virtual-guest
-%exclude %{_libexecdir}/tuned/realtime-virtual-host
-%exclude %{_libexecdir}/tuned/sap-netweaver
-%exclude %{_libexecdir}/tuned/sap-hana
+%exclude %{profile_dir}/realtime-virtual-guest
+%exclude %{profile_dir}/realtime-virtual-host
+%exclude %{profile_dir}/sap-netweaver
+%exclude %{profile_dir}/sap-hana
 %exclude %{_mandir}/man7/tuned-profiles-sap*.7.gz
-%exclude %{_libexecdir}/tuned/atomic-host
-%exclude %{_libexecdir}/tuned/atomic-guest
-%exclude %{_libexecdir}/tuned/oracle
-%exclude %{_libexecdir}/tuned/realtime
-%exclude %{_libexecdir}/tuned/defirqaffinity*
-%{_libexecdir}/tuned
+%exclude %{profile_dir}/atomic-host
+%exclude %{profile_dir}/atomic-guest
+%exclude %{profile_dir}/oracle
+%exclude %{profile_dir}/realtime
+%exclude %{profile_dir}/defirqaffinity*
+%{profile_dir}/pmqos-static.py
+%{profile_dir}
 # active_profile might be empty when built via build service, but typically
 # not on a real install -> better do not mark it %%ghost
 %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/tuned/active_profile
@@ -251,34 +253,33 @@
 
 %if !0%{?sle_version}
 %files profiles-sap
-%{_libexecdir}/tuned/sap-netweaver
+%{profile_dir}/sap-netweaver
 %{_mandir}/man7/tuned-profiles-sap.7%{?ext_man}
 
 %files profiles-sap-hana
-%{_libexecdir}/tuned/sap-hana
+%{profile_dir}/sap-hana
 %{_mandir}/man7/tuned-profiles-sap-hana.7%{?ext_man}
 %endif
 
 %files profiles-atomic
-%{_libexecdir}/tuned/atomic-host
-%{_libexecdir}/tuned/atomic-guest
+%{profile_dir}/atomic-host
+%{profile_dir}/atomic-guest
 %{_mandir}/man7/tuned-profiles-atomic.7%{?ext_man}
 
 %files profiles-realtime
 %config(noreplace) %{_sysconfdir}/tuned/realtime-variables.conf
-%{_lib

commit tuned for openSUSE:Factory

2019-07-02 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2019-07-02 10:39:19

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.4615 (New)


Package is "tuned"

Tue Jul  2 10:39:19 2019 rev:21 rq:712885 version:2.12.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2019-06-12 
13:12:24.580935559 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new.4615/tuned.changes2019-07-02 
10:39:19.64874 +0200
@@ -1,0 +2,6 @@
+Mon Jul  1 15:10:26 UTC 2019 - tr...@suse.de
+
+- Upgrade to latest 2.12.0 version(git commit b514cda168878c330b70416676)
+  - Removes sap-hana-vmware profile
+
+---

Old:

  tuned-2.11.0+git20190405.b4d9dfc.tar.xz

New:

  tuned-2.12.0.tar.xz



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.vJgWDE/_old  2019-07-02 10:39:20.162667658 +0200
+++ /var/tmp/diff_new_pack.vJgWDE/_new  2019-07-02 10:39:20.17664 +0200
@@ -18,7 +18,7 @@
 
 %{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
 Name:   tuned
-Version:2.11.0+git20190405.b4d9dfc
+Version:2.12.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0-or-later
@@ -207,7 +207,6 @@
 %exclude %{_libexecdir}/tuned/realtime-virtual-host
 %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
@@ -222,7 +221,6 @@
 %config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
 %config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
 %config(noreplace) %{_sysconfdir}/tuned/profile_mode
-%config(noreplace) %{_sysconfdir}/tuned/sap-hana-vmware-variables.conf
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline
 %dir %{_sysconfdir}/dbus-1
 %dir %{_sysconfdir}/dbus-1/system.d
@@ -258,7 +256,6 @@
 
 %files profiles-sap-hana
 %{_libexecdir}/tuned/sap-hana
-%{_libexecdir}/tuned/sap-hana-vmware
 %{_mandir}/man7/tuned-profiles-sap-hana.7%{?ext_man}
 %endif
 

++ _service ++
--- /var/tmp/diff_new_pack.vJgWDE/_old  2019-07-02 10:39:20.198667713 +0200
+++ /var/tmp/diff_new_pack.vJgWDE/_new  2019-07-02 10:39:20.198667713 +0200
@@ -2,10 +2,11 @@
   
 git
 https://github.com/redhat-performance/tuned
-2.11.0+git%cd.%h
 
+2.12.0
+disable
   
   
 tuned*.tar

++ tuned-2.11.0+git20190405.b4d9dfc.tar.xz -> tuned-2.12.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.11.0+git20190405.b4d9dfc/Makefile 
new/tuned-2.12.0/Makefile
--- old/tuned-2.11.0+git20190405.b4d9dfc/Makefile   2019-04-05 
10:49:17.0 +0200
+++ new/tuned-2.12.0/Makefile   2019-06-27 17:08:55.0 +0200
@@ -175,8 +175,6 @@

$(DESTDIR)$(SYSCONFDIR)/tuned/realtime-virtual-host-variables.conf
mv 
$(DESTDIR)$(TUNED_PROFILESDIR)/cpu-partitioning/cpu-partitioning-variables.conf 
\
$(DESTDIR)$(SYSCONFDIR)/tuned/cpu-partitioning-variables.conf
-   mv 
$(DESTDIR)$(TUNED_PROFILESDIR)/sap-hana-vmware/sap-hana-vmware-variables.conf \
-   $(DESTDIR)$(SYSCONFDIR)/tuned/sap-hana-vmware-variables.conf
install -pm 0644 recommend.conf 
$(DESTDIR)$(TUNED_RECOMMEND_DIR)/50-tuned.conf
 
# bash completion
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tuned-2.11.0+git20190405.b4d9dfc/com.redhat.tuned.policy 
new/tuned-2.12.0/com.redhat.tuned.policy
--- old/tuned-2.11.0+git20190405.b4d9dfc/com.redhat.tuned.policy
2019-04-05 10:49:17.0 +0200
+++ new/tuned-2.12.0/com.redhat.tuned.policy2019-06-27 17:08:55.0 
+0200
@@ -181,8 +181,8 @@
 Get plugins which Tuned daemon can acces
 Authentication is required to get Tuned plugins
 
-  yes
-  yes
+  auth_admin
+  auth_admin
   yes
 
   
@@ -191,8 +191,8 @@
 Get documentation of tuned plugin
 Authentication is required to get documentation of tuned 
plugin
 
-  yes
-  yes
+  auth_admin
+  auth_admin
   yes
 
   
@@ -201,8 +201,8 @@
 Get hints for parameters of Tuned plugin
 Authentication is required to get hints for parameters of Tuned 
plugin
 
-  yes
-  yes
+  auth_admin
+  auth_admin
   yes
 
   
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tuned-2.11.0+git20190405.b4d9dfc/doc/manual/READM

commit tuned for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2019-06-12 13:12:21

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.4811 (New)


Package is "tuned"

Wed Jun 12 13:12:21 2019 rev:20 rq:706360 version:2.11.0+git20190405.b4d9dfc

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2019-01-26 
22:22:25.454855256 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new.4811/tuned.changes2019-06-12 
13:12:24.580935559 +0200
@@ -1,0 +2,23 @@
+Tue May 28 16:32:53 UTC 2019 - tr...@suse.de
+
+- Limit /var/log/tuned directory permissions to 750
+
+---
+Thu Apr 11 12:37:09 UTC 2019 - tr...@suse.de
+
+- Adjust README path in manpage (bsc#1131858)
+A adjust_README_path_in_manpage.patch
+
+---
+Tue Mar 12 15:17:22 UTC 2019 - tr...@suse.de
+
+- Upgrade to latest git HEAD (v2.11.0 + latest fixes):
+  commit b4d9dfc31c46ed9cda100f03227ac5be087d3d74
+  Date:   Fri Apr 5 10:49:17 2019 +0200
+- tuned gui does not need polkit anymore as it can now run as non-root
+  user
+- Fixes bsc#1126609
+- Includes this patch:
+D tuned_differ_x86_and_other_archs_in_cpu_plugin.patch
+
+---

Old:

  tuned-2.10.0.tar.xz
  tuned_differ_x86_and_other_archs_in_cpu_plugin.patch

New:

  adjust_README_path_in_manpage.patch
  tuned-2.11.0+git20190405.b4d9dfc.tar.xz



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.KHitl5/_old  2019-06-12 13:12:25.200934908 +0200
+++ /var/tmp/diff_new_pack.KHitl5/_new  2019-06-12 13:12:25.204934904 +0200
@@ -18,7 +18,7 @@
 
 %{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
 Name:   tuned
-Version:2.10.0
+Version:2.11.0+git20190405.b4d9dfc
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0-or-later
@@ -30,7 +30,7 @@
 # PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch  allow receive_* is normally
 # not needed as that is the default --
 Patch0: fix-allow-receive_sender-default.patch
-Patch1: tuned_differ_x86_and_other_archs_in_cpu_plugin.patch
+Patch1: adjust_README_path_in_manpage.patch
 BuildRequires:  bash-completion
 BuildRequires:  desktop-file-utils
 BuildRequires:  pkgconfig
@@ -65,7 +65,6 @@
 Summary:Disk and net statistic monitoring systemtap scripts - GTK GUI
 Group:  System/Base
 Requires:   %{name} = %{version}
-Requires:   polkit
 Requires:   powertop
 
 %description gtk
@@ -231,7 +230,7 @@
 %{_sysconfdir}/grub.d
 %{_tmpfilesdir}/tuned.conf
 %{_unitdir}/tuned.service
-%dir %{_localstatedir}/log/tuned
+%attr(750, root, root) %dir %{_localstatedir}/log/tuned
 %dir %{_sysconfdir}/tuned
 %{_mandir}/man5/tuned*
 %{_mandir}/man7/tuned-profiles-cpu-partitioning.7%{?ext_man}
@@ -251,7 +250,6 @@
 %{_sbindir}/tuned-gui
 %{python3_sitelib}/tuned/gtk
 %{_datadir}/tuned/ui
-%{_datadir}/polkit-1/actions/com.redhat.tuned.gui.policy
 
 %if !0%{?sle_version}
 %files profiles-sap

++ _service ++
--- /var/tmp/diff_new_pack.KHitl5/_old  2019-06-12 13:12:25.228934879 +0200
+++ /var/tmp/diff_new_pack.KHitl5/_new  2019-06-12 13:12:25.232934875 +0200
@@ -2,10 +2,10 @@
   
 git
 https://github.com/redhat-performance/tuned
+2.11.0+git%cd.%h
 
-2.10.0
   
   
 tuned*.tar

++ adjust_README_path_in_manpage.patch ++
Index: tuned-2.11.0+git20190405.b4d9dfc/man/tuned.8
===
--- tuned-2.11.0+git20190405.b4d9dfc.orig/man/tuned.8   2019-04-05 
10:49:17.0 +0200
+++ tuned-2.11.0+git20190405.b4d9dfc/man/tuned.82019-04-11 
14:36:06.736132817 +0200
@@ -59,7 +59,7 @@ Show version information.
 .SH "FILES"
 .nf
 /etc/tuned
-/usr/share/doc/tuned/README
+/usr/share/doc/packages/tuned/README
 .SH "SEE ALSO"
 .LP
 tuned.conf(5)



commit tuned for openSUSE:Factory

2019-01-26 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2019-01-26 22:22:21

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.28833 (New)


Package is "tuned"

Sat Jan 26 22:22:21 2019 rev:19 rq:668631 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2019-01-05 
14:42:13.612486930 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new.28833/tuned.changes   2019-01-26 
22:22:25.454855256 +0100
@@ -1,0 +2,18 @@
+Wed Jan 16 10:47:12 UTC 2019 - tr...@suse.de
+
+- Differ archs and x86 CPU vendors to avoid wrong warning about a
+  missing intel tool (x86_energy_perf_bias)
+- Remember arch and x86 CPU vendor to allow arch/vendor specific
+  CPU tunings in the future (fate#326694)
+A tuned_differ_x86_and_other_archs_in_cpu_plugin.patch
+- Require virt-what to be able to detect whether it is running
+  on a virtual machine
+
+---
+Fri Jan 11 18:26:17 UTC 2019 - tr...@suse.de
+
+- Update to latest git head commit 26db89de18efad1b4536
+  including quite some mainline fixes
+- tuned needs polkit daemon running
+
+---

New:

  tuned_differ_x86_and_other_archs_in_cpu_plugin.patch



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.zRoOzC/_old  2019-01-26 22:22:26.574854350 +0100
+++ /var/tmp/diff_new_pack.zRoOzC/_new  2019-01-26 22:22:26.574854350 +0100
@@ -30,6 +30,7 @@
 # PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch  allow receive_* is normally
 # not needed as that is the default --
 Patch0: fix-allow-receive_sender-default.patch
+Patch1: tuned_differ_x86_and_other_archs_in_cpu_plugin.patch
 BuildRequires:  bash-completion
 BuildRequires:  desktop-file-utils
 BuildRequires:  pkgconfig
@@ -40,6 +41,7 @@
 Requires:   ethtool
 Requires:   gawk
 Requires:   hdparm
+Requires:   polkit
 Requires:   python3-configobj
 Requires:   python3-dbus-python
 Requires:   python3-decorator
@@ -47,6 +49,7 @@
 Requires:   python3-linux-procfs
 Requires:   python3-pyudev
 Requires:   util-linux
+Requires:   virt-what
 Obsoletes:  pm-profiler
 BuildArch:  noarch
 %{?systemd_requires}
@@ -237,6 +240,7 @@
 %{_mandir}/man8/tuned*
 %dir %{_datadir}/tuned
 %ghost %dir /run/tuned
+%{_prefix}/lib/kernel/install.d/92-tuned.install
 
 %files gtk
 %dir %{_datadir}/icons/hicolor

++ _service ++
--- /var/tmp/diff_new_pack.zRoOzC/_old  2019-01-26 22:22:26.602854327 +0100
+++ /var/tmp/diff_new_pack.zRoOzC/_new  2019-01-26 22:22:26.606854323 +0100
@@ -6,7 +6,6 @@
 2.9.0+git%cd.%h
 -->
 2.10.0
-enable
   
   
 tuned*.tar

++ tuned-2.10.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.10.0/92-tuned.install 
new/tuned-2.10.0/92-tuned.install
--- old/tuned-2.10.0/92-tuned.install   1970-01-01 01:00:00.0 +0100
+++ new/tuned-2.10.0/92-tuned.install   2019-01-08 15:07:03.0 +0100
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+COMMAND="$1"
+KERNEL_VERSION="$2"
+BOOT_DIR_ABS="$3"
+KERNEL_IMAGE="$4"
+
+if ! [[ $KERNEL_INSTALL_MACHINE_ID ]]; then
+  exit 0
+fi
+
+MACHINE_ID=$KERNEL_INSTALL_MACHINE_ID
+
+# with grub2 always /boot
+BOOT_ROOT="/boot"
+LOADER_ENTRIES="$BOOT_ROOT/loader/entries"
+
+[ -d "$LOADER_ENTRIES" ] || exit 0
+
+[ "$COMMAND" = "add" ] || exit 0
+
+# Workaround for rhbz#1657858
+ARCH=`uname -m`
+[ "${ARCH:0:4}" = "s390" ]
+HANDLE_INITRD="$?"
+
+pushd "$LOADER_ENTRIES" &> /dev/null
+for f in `basename "$MACHINE_ID"`-*.conf; do
+  if [ -f "$f" -a "${f: -12}" != "-rescue.conf" ]; then
+grep -q '^\s*options\s\+.*\$tuned_params' "$f" || sed -i 
'/^\s*options\s\+/ s/\(.*\)/\1 \$tuned_params/' "$f"
+if [ "$HANDLE_INITRD" = "1" ]; then
+  grep -q '^\s*initrd\s\+.*\$tuned_initrd' "$f" || sed -i 
'/^\s*initrd\s\+/ s/\(.*\)/\1 \$tuned_initrd/' "$f"
+else
+  sed -i '/^\s*initrd\s\+.*\$tuned_initrd/ s/\s\+\$tuned_initrd\b//g' "$f"
+fi
+  fi
+done
+popd &> /dev/null
+
+exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.10.0/Makefile new/tuned-2.10.0/Makefile
--- old/tuned-2.10.0/Makefile   2018-11-21 21:05:19.0 +0100
+++ new/tuned-2.10.0/Makefile   2019-01-08 15:07:03.0 +0100
@@ -40,6 +40,7 @@
 ifeq ($(PYTHON_SITELIB),)
 $(error Failed to determine python library directory)
 endif
+KERNELINSTALLHOOKDIR = /usr/lib/kernel/install.d
 TUNED_PROFILESDIR = /usr/lib/tuned
 TUNED_RECOMMEND_DIR = $(TUNED_PROFILESDIR)/recommend.d
 TUNED_USER_RECOMMEND_DIR = $(SYSCONFDIR)/tuned/recommen

commit tuned for openSUSE:Factory

2019-01-05 Thread root
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 - tr...@suse.de
+
+- 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_* is normally
 # not needed as that is the default --
 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




commit tuned for openSUSE:Factory

2018-12-28 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2018-12-28 12:35:36

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.28833 (New)


Package is "tuned"

Fri Dec 28 12:35:36 2018 rev:17 rq:661565 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2018-12-19 
13:50:43.931175313 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new.28833/tuned.changes   2018-12-28 
12:35:40.147948914 +0100
@@ -1,0 +2,5 @@
+Tue Dec 25 20:32:33 UTC 2018 - Martin Herkt <9+suse@cirno.systems>
+
+- Add missing dependency on python3-linux-procfs
+
+---



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.RpZOoW/_old  2018-12-28 12:35:40.615948586 +0100
+++ /var/tmp/diff_new_pack.RpZOoW/_new  2018-12-28 12:35:40.619948583 +0100
@@ -45,6 +45,7 @@
 Requires:   python3-dbus-python
 Requires:   python3-decorator
 Requires:   python3-gobject
+Requires:   python3-linux-procfs
 Requires:   python3-pyudev
 Requires:   util-linux
 Obsoletes:  pm-profiler




commit tuned for openSUSE:Factory

2018-12-19 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2018-12-19 13:50:23

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new.28833 (New)


Package is "tuned"

Wed Dec 19 13:50:23 2018 rev:16 rq:657147 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2018-02-22 
15:03:52.658909755 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new.28833/tuned.changes   2018-12-19 
13:50:43.931175313 +0100
@@ -1,0 +2,60 @@
+Thu Nov 22 11:42:42 UTC 2018 - tr...@suse.de
+
+- Go for 2.10.0 full version in _service (even this is rc1)
+  bsc#1071436
+  Latest included git commit:
+  commit 3722b151920dc20735dc15cbd45aed7b573fdfc2
+  Date:   Wed Nov 21 14:21:32 2018 +0100
+  Still keep the old git version parameter commented out, maybe
+  I need this again.
+- Since cpupower also has perf_bias binary, the cpupower call to
+  switch this has been reverted to lower maintenance overhead
+Dcheck_for_cpupower.patch
+Duse-cpupower-for-intel-perf-bias.patch
+- Update to version 2.10.0:
+  * Add range feature for cpu exclusion
+  * Disable KSM only once, re-enable it only on full rollback
+  * Add log message for unsupported parameters in plugin_net
+  * Add missing feature parameters aliases to plugin_net
+  * Make virtual-host identical to latency-performance
+
+---
+Fri Apr 06 09:57:36 UTC 2018 - tchva...@suse.com
+
+- Reintroduce the _service file as we must use git head in order to
+  get all the python3 fixes in
+- Update to version 2.9.0+git20180328.d25e8b8:
+  * makefile: dropped KVM unit tests, now provided by standalone package
+  * sysctl: support assignment modifiers as other plugins do
+  * spec: used weak deps for tuned-profiles-nfv-host-bin
+  * Added requires to tuned-profiles-nfv-host-bin
+  * Dropped tuned-profiles-nfv-host-bin subpackage
+  * tuned: Add readahead comment to throughput-performance tuned.conf
+  * oracle: fixed ip_local_port_range parity warning
+  * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning
+- Rebase check_for_cpupower.patch to apply cleanly again
+
+---
+Fri Apr  6 09:44:36 UTC 2018 - tchva...@suse.com
+
+- Version update to 2.9.0:
+  * python3 porting start
+  * various small fixes
+- Drop patches merged upstream:
+  * fix-desktop-category.patch
+  * remove-unnecessary-shebangs.patch
+  * fix-glade-file-permission.patch
+- Switch to autopatch from calling all individual patchlines
+
+---
+Fri Apr  6 09:36:04 UTC 2018 - tchva...@suse.com
+
+- Switch to python3 and format with spec-cleaner
+
+---
+Fri Apr  6 09:32:49 UTC 2018 - tchva...@suse.com
+
+- Switch to normal url fetching, there is no actual reason to run
+  service in order to generate the versioned tarballs
+
+---

Old:

  _servicedata
  check_for_cpupower.patch
  fix-desktop-category.patch
  fix-glade-file-permission.patch
  remove-unnecessary-shebangs.patch
  tuned-2.8.0.tar.xz
  use-cpupower-for-intel-perf-bias.patch

New:

  tuned-2.10.0.tar.xz



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.ZTKQxS/_old  2018-12-19 13:50:44.671174288 +0100
+++ /var/tmp/diff_new_pack.ZTKQxS/_new  2018-12-19 13:50:44.675174282 +0100
@@ -12,47 +12,40 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
 Name:   tuned
-Version:2.8.0
+Version:2.10.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Base
-Url:https://github.com/redhat-performance/tuned
+URL:https://github.com/redhat-performance/tuned
+#Source0:
https://github.com/redhat-performance/tuned/archive/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
 Source0:%{name}-%{version}.tar.xz
 Source1:tuned.rpmlintrc
 # PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch  allow receive_* is normally
 # not needed as that is the default --
 Patch0: fix-allow-receive_sender-default.patch
-# PATCH-FIX-OPENSUSE tuned-2.4.0-use-cpupower-for-intel-perf-bias.patch --use 
cpupower instead of energy class
-Patch1:

commit tuned for openSUSE:Factory

2018-02-22 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2018-02-22 15:03:49

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Thu Feb 22 15:03:49 2018 rev:15 rq:578964 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2017-11-17 
11:00:33.751495831 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2018-02-22 
15:03:52.658909755 +0100
@@ -1,0 +2,9 @@
+Fri Feb 16 09:07:59 UTC 2018 - dims...@opensuse.org
+
+- Own %{_sysconfdir}/dbus-1/system.d and %{_sysconfdir}/dbus-1: in
+  the past systemd happened to install things there and 'own' the
+  directory for us, but that was just a coincidence.
+- Replace systemd BuildRequires with pkgconfig(systemd), allowing
+  OBS to pick systemd-mini for the build.
+
+---



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.q2yN0b/_old  2018-02-22 15:03:54.894828655 +0100
+++ /var/tmp/diff_new_pack.q2yN0b/_new  2018-02-22 15:03:54.898828510 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tuned
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -43,7 +43,7 @@
 BuildRequires:  bash-completion
 BuildRequires:  desktop-file-utils
 BuildRequires:  python
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 Requires:   %{_bindir}/cpupower
 Requires:   dbus-1-python
 Requires:   ethtool
@@ -223,6 +223,8 @@
 %config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
 %config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline
+%dir %{_sysconfdir}/dbus-1
+%dir %{_sysconfdir}/dbus-1/system.d
 %config %{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf
 %{_sysconfdir}/grub.d
 %{_tmpfilesdir}/tuned.conf




commit tuned for openSUSE:Factory

2017-11-17 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2017-11-17 10:55:56

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Fri Nov 17 10:55:56 2017 rev:14 rq:542238 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2017-08-16 
16:11:03.167793783 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2017-11-17 
11:00:33.751495831 +0100
@@ -1,0 +2,8 @@
+Thu Nov 16 09:55:47 UTC 2017 - jloe...@suse.com
+
+- check for `cpupower` binary and set attribute correctly (bsc#1055070)
+
+- added patch:
+  * check_for_cpupower.patch
+
+---

New:

  check_for_cpupower.patch



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.LrZ5MG/_old  2017-11-17 11:00:34.523467577 +0100
+++ /var/tmp/diff_new_pack.LrZ5MG/_new  2017-11-17 11:00:34.523467577 +0100
@@ -37,6 +37,7 @@
 Patch2: fix-desktop-category.patch
 Patch3: remove-unnecessary-shebangs.patch
 Patch4: fix-glade-file-permission.patch
+Patch5: check_for_cpupower.patch
 
 # Do not own standard directories
 BuildRequires:  bash-completion
@@ -152,6 +153,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 # The tuned daemon is written in pure Python. Nothing requires to be built.

++ check_for_cpupower.patch ++
Index: tuned-2.8.0/tuned/plugins/plugin_cpu.py
===
--- tuned-2.8.0.orig/tuned/plugins/plugin_cpu.py
+++ tuned-2.8.0/tuned/plugins/plugin_cpu.py
@@ -18,12 +18,15 @@ class CPULatencyPlugin(base.Plugin):
Plugin for tuning CPU options. Powersaving, governor, required latency, 
etc.
"""
 
+   CPUPOWER_PATH = "/usr/bin/cpupower"
+
def __init__(self, *args, **kwargs):
super(self.__class__, self).__init__(*args, **kwargs)
 
self._has_pm_qos = True
self._has_energy_perf_bias = True
self._has_intel_pstate = False
+   self._has_cpupower = os.path.isfile(self.CPUPOWER_PATH) and 
os.access(self.CPUPOWER_PATH, os.X_OK)
 
self._min_perf_pct_save = None
self._max_perf_pct_save = None



commit tuned for openSUSE:Factory

2017-08-16 Thread root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2017-08-16 16:10:58

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Wed Aug 16 16:10:58 2017 rev:13 rq:512788 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2016-01-22 
01:07:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2017-08-16 
16:11:03.167793783 +0200
@@ -1,0 +2,22 @@
+Fri Jul 07 15:07:04 UTC 2017 - fschnizl...@suse.com
+
+- Update to version 2.8.0:
+  * builtin functions: parser not traceback if func expands to empty string
+  * systemd: added support for older systemd CPUAffinity syntax
+  * scheduler: do not traceback if process dissapears during enumeration
+  * scheduler: fix more python-linux-procfs tracebacks
+  * plugin_net: Fix invocation of execute()
+  * cpu-partitioning: use tuna for cores isolation
+  * builtin functions: add strip
+  * bootloader: workaround for adding tuned_initrd to new kernels on restart
+  * new release (2.8.0)
+  + Add Patch: Fix category in desktop file for tuned-gui 
(fix-desktop-category.patch)
+  + Add Patch: Remove unnecessary shebangs (remove-unnecessary-shebangs.patch)
+  + Add Patch: Fix file permission for glade file 
(fix-glade-file-permission.patch)
+  + Add rpmlintrc to silence unnecessary warnings
+  + Remove Patch: tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
+  = Modified Patches to apply with 2.8.0:
+- fix-allow-receive_sender-default.patch
+- use-cpupower-for-intel-perf-bias.patch
+
+---

Old:

  tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
  tuned-2.6.0.tar.bz2

New:

  _service
  _servicedata
  fix-desktop-category.patch
  fix-glade-file-permission.patch
  remove-unnecessary-shebangs.patch
  tuned-2.8.0.tar.xz
  tuned.rpmlintrc
  use-cpupower-for-intel-perf-bias.patch



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.rDloFY/_old  2017-08-16 16:11:04.347628173 +0200
+++ /var/tmp/diff_new_pack.rDloFY/_new  2017-08-16 16:11:04.351627611 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tuned
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -18,20 +18,29 @@
 
 %{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
 Name:   tuned
-Version:2.6.0
+Version:2.8.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0+
 Group:  System/Base
-Url:https://fedorahosted.org/tuned/
-Source: 
https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
+Url:https://github.com/redhat-performance/tuned
+Source0:%{name}-%{version}.tar.xz
+Source1:tuned.rpmlintrc
 # PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch  allow receive_* is normally
 # not needed as that is the default --
 Patch0: fix-allow-receive_sender-default.patch
-# PATCH-FIX-OPENSUSE tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch --use 
cpupower instead of energy class
-Patch2: tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
+# PATCH-FIX-OPENSUSE tuned-2.4.0-use-cpupower-for-intel-perf-bias.patch --use 
cpupower instead of energy class
+Patch1: use-cpupower-for-intel-perf-bias.patch
+
+# Patches to make security and usability more stable
+# They also pushed upstream
+Patch2: fix-desktop-category.patch
+Patch3: remove-unnecessary-shebangs.patch
+Patch4: fix-glade-file-permission.patch
+
 # Do not own standard directories
 BuildRequires:  bash-completion
+BuildRequires:  desktop-file-utils
 BuildRequires:  python
 BuildRequires:  systemd
 Requires:   %{_bindir}/cpupower
@@ -71,7 +80,7 @@
 Requires:   %{name} = %{version}
 
 %description profiles-sap
-Additional tuned profile(s) targeted to SAP NetWeaver loads.
+Additional profile(s) for the tuned daemon, targeted to SAP NetWeaver loads.
 
 %package profiles-sap-hana
 Summary:Additional tuned profile(s) targeted to SAP HANA loads
@@ -79,7 +88,7 @@
 Requires:   %{name} = %{version}
 
 %description profiles-sap-hana
-Additional tuned profile(s) targeted to SAP HANA loads.
+Additional profile(s) for the tuned daemon, targeted to SAP HANA loads.
 
 %package profiles-atomic
 Summary:Additional tuned profiles targeted to Atomic
@@ -87,7 +96,7 @@
 Requires:   %{name} = %{version}
 
 %description profiles-atomi

commit tuned for openSUSE:Factory

2016-01-21 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2016-01-21 23:42:45

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2015-10-06 
13:24:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2016-01-22 
01:07:22.0 +0100
@@ -1,0 +2,31 @@
+Sun Jan 17 09:21:58 UTC 2016 - mplus...@suse.com
+
+- Update to 2.6.0
+  * plugin_cpu: do not show error if cpupower or 
+x86_energy_perf_policy are missing
+  * plugin_sysctl: fixed quoting of sysctl values
+  * tuned-adm: added log file location hint to verify command output
+  * libexec: fixed listdir and isdir in defirqaffinity.py
+  * plugin_cpu: save and restore only intel pstate attributes that 
+were changed
+  * functions: fixed sysfs save to work with options
+  * plugins: added scsi_host plugin
+  * tuned-adm: fixed restart attempt if tuned is not running
+  * spec: fixed post scriptlet to work without grub
+  * tuned-profiles-nfv: fix find-lapictscdeadline-optimal.sh for 
+CPUS where ns > 6500
+  * functions: fixed restore_logs_syncing to preserve SELinux 
+context on rsyslog.conf
+  * realtime: set unboud workqueues cpumask
+  * spec: correctly remove tuned footprint from /etc/default/grub
+  * gui: fixed creation of new profile
+  * profiles: removed nohz_full from the realtime profile
+  * profiles: Added nohz_full and nohz=on to realtime guest/host 
+profiles
+  * profiles: fixed lapic_timer_adv_ns cache
+  * plugin_sysctl: pass verification even if the option doesn't 
+exist
+  * added support for 'summary' and 'description' of profiles, 
+extended D-Bus API for better Cockpit support
+
+---

Old:

  tuned-2.5.1.tar.bz2

New:

  tuned-2.6.0.tar.bz2



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.B9uuxI/_old  2016-01-22 01:07:24.0 +0100
+++ /var/tmp/diff_new_pack.B9uuxI/_new  2016-01-22 01:07:24.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tuned
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -18,7 +18,7 @@
 
 %{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
 Name:   tuned
-Version:2.5.1
+Version:2.6.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0+

++ fix-allow-receive_sender-default.patch ++
--- /var/tmp/diff_new_pack.B9uuxI/_old  2016-01-22 01:07:24.0 +0100
+++ /var/tmp/diff_new_pack.B9uuxI/_new  2016-01-22 01:07:24.0 +0100
@@ -1,7 +1,7 @@
-Index: tuned-2.5.1/dbus.conf
+Index: tuned-2.6.0/dbus.conf
 ===
 tuned-2.5.1.orig/dbus.conf
-+++ tuned-2.5.1/dbus.conf
+--- tuned-2.6.0.orig/dbus.conf
 tuned-2.6.0/dbus.conf
 @@ -9,7 +9,6 @@
  


++ tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch ++
--- /var/tmp/diff_new_pack.B9uuxI/_old  2016-01-22 01:07:24.0 +0100
+++ /var/tmp/diff_new_pack.B9uuxI/_new  2016-01-22 01:07:24.0 +0100
@@ -1,8 +1,8 @@
-Index: tuned-2.5.1/tuned/plugins/plugin_cpu.py
+Index: tuned-2.6.0/tuned/plugins/plugin_cpu.py
 ===
 tuned-2.5.1.orig/tuned/plugins/plugin_cpu.py
-+++ tuned-2.5.1/tuned/plugins/plugin_cpu.py
-@@ -108,7 +108,8 @@ class CPULatencyPlugin(base.Plugin):
+--- tuned-2.6.0.orig/tuned/plugins/plugin_cpu.py
 tuned-2.6.0/tuned/plugins/plugin_cpu.py
+@@ -109,7 +109,8 @@ class CPULatencyPlugin(base.Plugin):
# Check for cpupower, use workaround if not available
self._check_cpupower()
# Check for x86_energy_perf_policy, ignore if not 
available / supported
@@ -12,7 +12,7 @@
# Check for intel_pstate
self._check_intel_pstate()
else:
-@@ -234,7 +235,17 @@ class CPULatencyPlugin(base.Plugin):
+@@ -237,7 +238,17 @@ class CPULatencyPlugin(base.Plugin):
if not self._is_cpu_online(device):
log.debug("%s is not online, skipping" % device)
return None
@@ -31,7 +31,7 @@
if not sim:
cpu_id = device.lstrip("cpu")
log.info("setting energy_perf_bia

commit tuned for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2015-10-06 13:24:52

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2015-08-19 
09:29:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2015-10-06 
13:24:53.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 29 12:41:36 UTC 2015 - mplus...@suse.com
+
+- Fix build for openSUSE Leap (lack of tmpfiles.d macro)
+
+---



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.PNaka2/_old  2015-10-06 13:24:54.0 +0200
+++ /var/tmp/diff_new_pack.PNaka2/_new  2015-10-06 13:24:54.0 +0200
@@ -157,7 +157,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
 




commit tuned for openSUSE:Factory

2015-08-19 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2015-08-19 09:29:35

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2015-08-05 
06:50:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2015-08-19 
09:29:39.0 +0200
@@ -1,0 +2,11 @@
+Mon Aug 17 16:10:42 UTC 2015 - mplus...@suse.com
+
+- Update to 2.5.1
+  * plugin_scheduler: work with nohz_full (rhbz#1247184)
+  * fixed realtime-virtual-guest/host profiles packaged twice 
+(rhbz#1249028)
+  * fixed requirements of realtime and nfv profiles
+  * fixed tuned-gui not starting (boo#937647)
+  * various other minor fixes
+
+---

Old:

  tuned-2.5.0.tar.bz2

New:

  tuned-2.5.1.tar.bz2



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.sWWxce/_old  2015-08-19 09:29:40.0 +0200
+++ /var/tmp/diff_new_pack.sWWxce/_new  2015-08-19 09:29:40.0 +0200
@@ -18,7 +18,7 @@
 
 %{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
 Name:   tuned
-Version:2.5.0
+Version:2.5.1
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0+

++ fix-allow-receive_sender-default.patch ++
--- /var/tmp/diff_new_pack.sWWxce/_old  2015-08-19 09:29:40.0 +0200
+++ /var/tmp/diff_new_pack.sWWxce/_new  2015-08-19 09:29:40.0 +0200
@@ -1,7 +1,7 @@
-Index: tuned-2.5.0/dbus.conf
+Index: tuned-2.5.1/dbus.conf
 ===
 tuned-2.5.0.orig/dbus.conf
-+++ tuned-2.5.0/dbus.conf
+--- tuned-2.5.1.orig/dbus.conf
 tuned-2.5.1/dbus.conf
 @@ -9,7 +9,6 @@
  


++ tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch ++
--- /var/tmp/diff_new_pack.sWWxce/_old  2015-08-19 09:29:40.0 +0200
+++ /var/tmp/diff_new_pack.sWWxce/_new  2015-08-19 09:29:40.0 +0200
@@ -1,7 +1,7 @@
-Index: tuned-2.5.0/tuned/plugins/plugin_cpu.py
+Index: tuned-2.5.1/tuned/plugins/plugin_cpu.py
 ===
 tuned-2.5.0.orig/tuned/plugins/plugin_cpu.py
-+++ tuned-2.5.0/tuned/plugins/plugin_cpu.py
+--- tuned-2.5.1.orig/tuned/plugins/plugin_cpu.py
 tuned-2.5.1/tuned/plugins/plugin_cpu.py
 @@ -108,7 +108,8 @@ class CPULatencyPlugin(base.Plugin):
# Check for cpupower, use workaround if not available
self._check_cpupower()

++ tuned-2.5.0.tar.bz2 -> tuned-2.5.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.5.0/AUTHORS new/tuned-2.5.1/AUTHORS
--- old/tuned-2.5.0/AUTHORS 2015-05-04 11:06:33.0 +0200
+++ new/tuned-2.5.1/AUTHORS 2015-07-31 16:33:21.0 +0200
@@ -1,14 +1,17 @@
+Maintainers:
+- Jaroslav Škarvada 
+
 Based on old tuned/ktune code by:
 - Philip Knirsch
 - Thomas Woerner
 
 Significant contributors:
-- Jan Vcelak
-- Jan Kaluza
-- Jaroslav Skarvada
+- Jan Včelák
+- Jan Kaluža
 
 Other contributors:
 - Petr Lautrbach
-- Marcela Maslanova
+- Marcela Mašláňová
 - Jarod Wilson
-- Jan Hutar
+- Jan Hutař
+- Arnaldo Carvalho de Melo  - perf code for plugin_scheduler
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.5.0/man/tuned.conf.5 
new/tuned-2.5.1/man/tuned.conf.5
--- old/tuned-2.5.0/man/tuned.conf.52015-05-04 11:06:33.0 +0200
+++ new/tuned-2.5.1/man/tuned.conf.52015-07-09 16:17:37.0 +0200
@@ -29,7 +29,14 @@
 
 .TP
 type=
-Plugin type. Currently there are following plugins: disk, script, net, cpu, 
eeepc_she.
+Plugin type. Currently there are following upstream plugins: audio, 
bootloader, cpu, disk,
+eeepc_she, mounts, net script, selinux, scheduler, sysctl, sysfs, usb, video, 
vm. This
+list may be incomplete. If you installed tuned through RPM you can list 
upstream plugins by
+the following command:
+.B rpm -ql tuned | grep 'plugins/plugin_.*.py$'
+Check the plugins directory returned by this command to see all plugins (e.g. 
plugins
+provided by 3rd party packages).
+
 .TP
 devices=
 Comma separated list of devices which should be tuned by this plugin instance.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.5.0/profiles/realtime-virtual-host/script.sh 
new/tuned-2.5.1/profiles/realtime-virtual-host/script.sh
--- old/tuned-2.5.0/profiles/realtime-virtual-host/script.sh2015-07-01 
16:35:23.0 +0200
+++ new/tuned-2.5.1/profiles/r

commit tuned for openSUSE:Factory

2015-08-04 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2015-08-05 06:50:06

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2015-07-14 
17:46:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2015-08-05 
06:50:11.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 14 22:21:45 UTC 2015 - mplus...@suse.com
+
+- tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
+  * fixed indentation and tabs usage
+
+---



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.Bdraho/_old  2015-08-05 06:50:12.0 +0200
+++ /var/tmp/diff_new_pack.Bdraho/_new  2015-08-05 06:50:12.0 +0200
@@ -142,7 +142,7 @@
 %patch2 -p1
 
 %build
-#The tuned daemon is written in pure Python. Nothing requires to be built.
+# The tuned daemon is written in pure Python. Nothing requires to be built.
 # Just a hack to avoid installation in a wrong directory
 sed -i 's|usr/libexec/tuned|%{_libexecdir}/%{name}|' Makefile
 

++ tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch ++
--- /var/tmp/diff_new_pack.Bdraho/_old  2015-08-05 06:50:12.0 +0200
+++ /var/tmp/diff_new_pack.Bdraho/_new  2015-08-05 06:50:12.0 +0200
@@ -17,17 +17,17 @@
log.debug("%s is not online, skipping" % device)
return None
 -  if self._has_energy_perf_bias:
-+if self._has_cpupower is True:
-+  bias_str = str(energy_perf_bias)
-+  if bias_str == "performance":
-+bias_str = "0"
-+  elif bias_str == "powersave":
-+bias_str = "15"
-+  elif bias_str == "normal":
-+bias_str = "6"
-+  cpu_id = device.lstrip("cpu")
-+  self._cmd.execute(["cpupower", "-c", cpu_id, "set", "-b", bias_str])
-+   elif self._has_energy_perf_bias:
++  if self._has_cpupower is True:
++  bias_str = str(energy_perf_bias)
++  if bias_str == "performance":
++  bias_str = "0"
++  elif bias_str == "powersave":
++  bias_str = "15"
++  elif bias_str == "normal":
++  bias_str = "6"
++  cpu_id = device.lstrip("cpu")
++  self._cmd.execute(["cpupower", "-c", cpu_id, "set", 
"-b", bias_str])
++  elif self._has_energy_perf_bias:
if not sim:
cpu_id = device.lstrip("cpu")
log.info("setting energy_perf_bias '%s' on cpu 
'%s'" % (energy_perf_bias, device))
@@ -36,10 +36,10 @@
log.debug("%s is not online, skipping" % device)
return None
 -  if self._has_energy_perf_bias:
-+if self._has_cpupower is True:
-+  cpu_id = device.lstrip("cpu")
-+  retcode, lines = self._cmd.execute(["cpupower", "-c", cpu_id, "info", 
"-b"])
-+elif self._has_energy_perf_bias:
++  if self._has_cpupower is True:
++  cpu_id = device.lstrip("cpu")
++  retcode, lines = self._cmd.execute(["cpupower", "-c", 
cpu_id, "info", "-b"])
++  elif self._has_energy_perf_bias:
cpu_id = device.lstrip("cpu")
retcode, lines = 
self._cmd.execute(["x86_energy_perf_policy", "-c", cpu_id, "-r"])
 -  if retcode == 0:
@@ -48,15 +48,15 @@
 -  if len(l) == 2:
 -  energy_perf_bias = 
self._energy_perf_policy_to_human(l[1])
 -  break
-+else:
-+  return None
-+if retcode == 0:
-+  for line in lines.splitlines():
-+if line.startswith("analyzing CPU"):
-+  continue
-+l = line.split()
-+if len(l) == 2:
-+  energy_perf_bias = l[1]
-+  break
++  else:
++  return None
++  if retcode == 0:
++  for line in lines.splitlines():
++  if line.startswith("analyzing CPU"):
++  continue
++  l = line.split()
++  if len(l) == 2:
++  energy_perf_bias = l[1]
++  break
  
return energy_perf_bias




commit tuned for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2015-07-14 17:44:55

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2015-01-07 
09:38:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2015-07-14 
17:46:11.0 +0200
@@ -1,0 +2,43 @@
+Sun Jul 12 12:48:16 UTC 2015 - mplus...@suse.com
+
+- Update to 2.5.0
+  * add tuned-adm verify command for verification if all settings 
+from profile was applied (rhbz#1212836)
+  * add variables support to profiles / scripts (rhbz#1225124)
+  * add support for calling built-in functions when expanding 
+variables, built-in functions can be provided by function 
+plugins, add some built-in functions for unit conversion 
+(rhbz#1225135)
+  * add support for no daemon mode (rhbz#1068663)
+  * add oracle tuned profile (rhbz#1196298)
+  * add tuned profile for RHEL-RT (rhbz#1228801)
+  * add tuned profiles for RHEL-NFV (rhbz#1228803)
+  * plugin_scheduler: added support for runtime tuning of
+processes using perf (rhbz#1148546)
+  * plugin_sysfs: add glob support (rhbz#1212831)
+  * plugin_net: add support for ethtool -C (rhbz#1152539)
+  * plugin_net: add support for ethtool -K (rhbz#1152541)
+  * plugin_bootloader: add support for calculation of values for 
+the kernel command line (rhbz#1191595)
+  * tuned-adm: fix bash completions (rhbz#1207668)
+  * plugin_bootloader: do not install tuned kernel command line to 
+rescue kernels (rhbz#1223864)
+  * add support for changing elevators on xvd* devices 
+(Amazon EC2) (rhbz#1170152)
+  * do not change settings of transparent hugepages if set in 
+kernel cmdline (rhbz#1189868
+- Rebase patch:
+  * tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch 
+- Drop patch included in upstream
+  * tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch
+- Fix some rpmlint warnings
+  * ghost rundif
+  * create tpmfiles in post using proper macro
+- Small cleanups using spec-cleaner
+
+---
+Fri Jul 10 12:08:42 UTC 2015 - bwiedem...@suse.com
+
+- fix syntax (bnc#937647)
+
+---

Old:

  tuned-2.4.1.tar.bz2
  tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch

New:

  tuned-2.5.0.tar.bz2



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.oNDrRy/_old  2015-07-14 17:46:12.0 +0200
+++ /var/tmp/diff_new_pack.oNDrRy/_new  2015-07-14 17:46:12.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tuned
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -16,10 +16,9 @@
 #
 
 
-%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
-
+%{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
 Name:   tuned
-Version:2.4.1
+Version:2.5.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0+
@@ -31,13 +30,11 @@
 Patch0: fix-allow-receive_sender-default.patch
 # PATCH-FIX-OPENSUSE tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch --use 
cpupower instead of energy class
 Patch2: tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
-# PATCH-FIX-UPSTREAM tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch 
--use get function when define id attribute bnc#888599
-Patch3: tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch
-BuildRequires:  python
-BuildRequires:  systemd
 # Do not own standard directories
 BuildRequires:  bash-completion
-Requires:   /usr/bin/cpupower
+BuildRequires:  python
+BuildRequires:  systemd
+Requires:   %{_bindir}/cpupower
 Requires:   dbus-1-python
 Requires:   ethtool
 Requires:   gawk
@@ -47,9 +44,9 @@
 Requires:   python-gobject
 Requires:   python-pyudev
 Requires:   util-linux
-%{?systemd_requires}
-BuildArch:  noarch
 Obsoletes:  pm-profiler
+BuildArch:  noarch
+%{?systemd_requires}
 
 %description
 The tuned package contains a daemon that tunes system settings dynamically.
@@ -92,6 +89,30 @@
 %description profiles-atomic
 Additional tuned profiles targeted to Atomic host and guest.
 
+%package profiles-realtime
+Summary:Additional tuned profiles targeted to realtime
+Group:  System/Base
+Requires:   %{name} = %{version}
+
+%description profiles-realtim

commit tuned for openSUSE:Factory

2015-01-07 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2015-01-07 09:38:38

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2014-10-18 
09:10:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2015-01-07 
09:38:42.0 +0100
@@ -1,0 +2,6 @@
+Mon Jan  5 15:07:22 UTC 2015 - p.drou...@gmail.com
+
+- Add tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch;
+  fix bnc#888599
+
+---

New:

  tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.ywCnRd/_old  2015-01-07 09:38:43.0 +0100
+++ /var/tmp/diff_new_pack.ywCnRd/_new  2015-01-07 09:38:43.0 +0100
@@ -31,6 +31,8 @@
 Patch0: fix-allow-receive_sender-default.patch
 # PATCH-FIX-OPENSUSE tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch --use 
cpupower instead of energy class
 Patch2: tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
+# PATCH-FIX-UPSTREAM tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch 
--use get function when define id attribute bnc#888599
+Patch3: tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch
 BuildRequires:  python
 BuildRequires:  systemd
 # Do not own standard directories
@@ -117,6 +119,7 @@
 %setup -q
 %patch0 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 #The tuned daemon is written in pure Python. Nothing requires to be built.

++ tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch ++
--- a/experiments/powertop2tuned.py.orig2014-10-15 09:15:23.0 
-0400
+++ b/experiments/powertop2tuned.py 2014-12-21 01:27:40.875480511 -0500
@@ -83,7 +83,7 @@
 
def handle_starttag(self, tag, attrs):
self.lastStartTag = tag
-   if self.lastStartTag == "div" and dict(attrs)["id"]  == 
"tuning":
+   if self.lastStartTag == "div" and dict(attrs).get("id")  == 
"tuning":
self.inProperTable = True
if self.inProperTable and tag == "td":
self.tdCounter += 1
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit tuned for openSUSE:Factory

2014-10-18 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2014-10-18 09:09:39

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2014-10-14 
07:10:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2014-10-18 
09:10:17.0 +0200
@@ -1,0 +2,12 @@
+Fri Oct 17 12:45:21 UTC 2014 - ohole...@suse.com
+
+- Update to version 2.4.1
+  + plugin_disk: set_spindown and set_APM made independent (rhbz#976725)
+  + plugin_bootloader: added check for grub2 (rhbz#1150047)
+  + tuned-adm: fixed traceback on "tuned-adm list" (rhbz#1149162)
+  + plugin_bootloader: 00_tuned do not return error if there is no cmdline 
(rhbz#1151768, bsc#901180)
+  + fixed polkit configuration
+
+- Remove tuned-2.4.0-polkit-tuned-gui-path.patch
+
+---

Old:

  tuned-2.4.0-polkit-tuned-gui-path.patch
  tuned-2.4.0.tar.bz2

New:

  tuned-2.4.1.tar.bz2



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.BLWCfX/_old  2014-10-18 09:10:18.0 +0200
+++ /var/tmp/diff_new_pack.BLWCfX/_new  2014-10-18 09:10:18.0 +0200
@@ -15,10 +15,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
 
 Name:   tuned
-Version:2.4.0
+Version:2.4.1
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0+
@@ -30,9 +31,6 @@
 Patch0: fix-allow-receive_sender-default.patch
 # PATCH-FIX-OPENSUSE tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch --use 
cpupower instead of energy class
 Patch2: tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
-# PATCH-FIX-UPSTREAM tuned-2.4.0-polkit-tuned-gui-path.patch --fix tuned-gui 
path 
-# in polkit policy rule file
-Patch3: tuned-2.4.0-polkit-tuned-gui-path.patch
 BuildRequires:  python
 BuildRequires:  systemd
 # Do not own standard directories
@@ -62,8 +60,8 @@
 Summary:Disk and net statistic monitoring systemtap scripts - GTK GUI
 Group:  System/Base
 Requires:   %{name} = %{version}
-Requires:   powertop
 Requires:   polkit
+Requires:   powertop
 
 %description gtk
 GTK GUI that can control tuned and provide simple profile editor.
@@ -119,7 +117,6 @@
 %setup -q
 %patch0 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 #The tuned daemon is written in pure Python. Nothing requires to be built.

++ tuned-2.4.0.tar.bz2 -> tuned-2.4.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.4.0/00_tuned new/tuned-2.4.1/00_tuned
--- old/tuned-2.4.0/00_tuned2014-10-01 18:47:55.0 +0200
+++ new/tuned-2.4.1/00_tuned2014-10-17 00:58:53.0 +0200
@@ -25,5 +25,4 @@
 
 . $tuned_bootcmdline_file
 
-[ "$TUNED_BOOT_CMDLINE" ] && \
-  echo "set tuned_params=\"$TUNED_BOOT_CMDLINE\""
+echo "set tuned_params=\"$TUNED_BOOT_CMDLINE\""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.4.0/man/diskdevstat.8 
new/tuned-2.4.1/man/diskdevstat.8
--- old/tuned-2.4.0/man/diskdevstat.8   2014-09-19 17:47:59.0 +0200
+++ new/tuned-2.4.1/man/diskdevstat.8   2014-10-15 15:15:38.0 +0200
@@ -1,6 +1,6 @@
 .TH "diskdevstat" "8" "13 Jan 2011" "Phil Knirsch" "Tool for recording 
harddisk activity"
 .SH NAME
-diskdevstat \- tool for recording harddisk activity
+diskdevstat - tool for recording harddisk activity
 .SH SYNOPSIS
 \fBdiskdevstat\fP [\fIupdate interval\fP] [\fItotal duration\fP] [\fIdisplay 
histogram\fP]
 .SH DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.4.0/man/netdevstat.8 
new/tuned-2.4.1/man/netdevstat.8
--- old/tuned-2.4.0/man/netdevstat.82014-09-19 17:47:59.0 +0200
+++ new/tuned-2.4.1/man/netdevstat.82014-10-15 15:15:46.0 +0200
@@ -1,6 +1,6 @@
 .TH "netdevstat" "8" "13 Jan 2011" "Phil Knirsch" "Tool for recording network 
activity"
 .SH NAME
-netdevstat \- tool for recording network activity
+netdevstat - tool for recording network activity
 .SH SYNOPSIS
 \fBnetdevstat\fP [\fIupdate interval\fP] [\fItotal duration\fP] [\fIdisplay 
histogram\fP]
 .SH DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tuned-2.4.0/man/scomes.8 new/tuned-2.4.1/man/scomes.8
--- old/tuned-2.4.0/man/scomes.82014-09-19 17:47:59.0 +0200
+++ new/tuned-2.4.1/man/scomes.82014-10-15 15:15:56.0 +0200
@@ 

commit tuned for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2014-10-14 07:10:31

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2014-05-24 
07:41:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2014-10-14 
07:10:50.0 +0200
@@ -1,0 +2,72 @@
+Sat Oct 11 15:24:56 UTC 2014 - p.drou...@gmail.com
+
+- Remove python-gobject dependency in -gtk subpackage; main package
+  already requires python-gobject
+
+---
+Fri Oct 10 10:14:03 UTC 2014 - p.drou...@gmail.com
+
+- Update to version 2.4.0
+  + rebase tuned to latest upstream (rhbz#1093883)
+  + fixed traceback if profile cannot be loaded
+related: rhbz#953128
+  + powertop2tuned: fixed traceback if rewriting file instead of dir
+resolves: rhbz#963441
+  + throughput-performance: altered dirty ratios for better performance
+resolves: rhbz#1043533
+  + latency-performance: leaving THP on its default
+resolves: rhbz#1064510
+  + used throughput-performance profile on server by default
+resolves: rhbz#1063481
+  + network-latency: added new profile
+resolves: rhbz#1052418
+  + network-throughput: added new profile
+resolves: rhbz#1052421
+  + recommend.conf: fixed config file
+resolves: rhbz#1069123
+  + systemd: added cpupower.service conflict
+resolves: rhbz#1073392
+  + balanced: used medium_power ALPM policy
+  + added support for >, < assignment modifiers in tuned.conf
+  + handled root block devices
+  + balanced: used conservative CPU governor
+resolves: rhbz#1124125
+  + plugins: added selinux plugin
+  + plugin_net: added nf_conntrack_hashsize parameter
+  + profiles: added atomic-host profile
+resolves: rhbz#1091977
+  + profiles: added atomic-guest profile
+resolves: rhbz#1091979
+  + moved profile autodetection from post install script to tuned daemon
+resolves: rhbz#1144067
+  + profiles: included sap-hana and sap-hana-vmware profiles
+  + man: structured profiles manual pages according to sub-packages
+  + added missing hdparm dependency
+resolves: rhbz#1144858
+  + improved error handling of switch_profile
+resolves: rhbz#1068699
+  + tuned-adm: active: detect whether tuned deamon is running
+related: rhbz#1068699
+  + removed active_profile from RPM verification
+resolves: rhbz#1104126
+  + plugin_disk: readahead value can be now specified in sectors
+resolves: rhbz#1127127
+  + plugins: added bootloader plugin
+resolves: rhbz#1044111
+  + plugin_disk: added error counter to hdparm calls
+  + plugins: added scheduler plugin
+resolves: rhbz#1100826
+  + added tuned-gui
+- Add tuned-2.4.0-polkit-tuned-gui-path.patch; fix tuned-gui path 
+  in polkit policy rule
+- Remove fix-new-systemd-tmpfiles.d-path.patch; fixed by upstream
+- Update use_cpupower_for_intel_perf_bias to upstream changes
+  + Added : tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch 
+  + Deleted : se_cpupower_for_intel_perf_bias
+- Add tuned-gtk, profiles-sap, profiles-sap-hana, and profiles-atomic
+  subpackages
+- Add hdparm and util-linux requirements; new dependencies
+- Add bash-completion build requirement to avoid owning standard
+  directory
+
+---

Old:

  fix-new-systemd-tmpfiles.d-path.patch
  tuned-2.3.0.tar.bz2
  use_cpupower_for_intel_perf_bias

New:

  tuned-2.4.0-polkit-tuned-gui-path.patch
  tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch
  tuned-2.4.0.tar.bz2



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.Oc2J7C/_old  2014-10-14 07:10:51.0 +0200
+++ /var/tmp/diff_new_pack.Oc2J7C/_new  2014-10-14 07:10:51.0 +0200
@@ -15,9 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
 
 Name:   tuned
-Version:2.3.0
+Version:2.4.0
 Release:0
 Summary:A dynamic adaptive system tuning daemon
 License:GPL-2.0+
@@ -27,20 +28,25 @@
 # PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch  allow receive_* is normally 
 # not needed as that is the default --
 Patch0: fix-allow-receive_sender-default.patch
-# PATCH-FIX-OPENSUSE fix-new-systemd-tmpfiles.d-path.patch Fix tmpfiles.d 
systemd path from /etc/tmpdfiles.d to /usr/lib/tmpfiles.d to be
-# compatible with new systemd --
-Patch1: fix-new-systemd-tmpfiles.d-path.patch
-Patch2: use_cpupower_for_intel_perf_bias
+# PATCH-FIX-OPENSUSE tuned-2.4.0-use_cpupower_

commit tuned for openSUSE:Factory

2014-05-23 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2014-05-24 07:41:25

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2014-04-02 
17:26:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2014-05-24 
07:41:27.0 +0200
@@ -1,0 +2,5 @@
+Fri May 23 12:01:37 UTC 2014 - jseg...@novell.com
+
+- added necessary macros for systemd files
+
+---



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.jkcTpT/_old  2014-05-24 07:41:28.0 +0200
+++ /var/tmp/diff_new_pack.jkcTpT/_new  2014-05-24 07:41:28.0 +0200
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   tuned
 Version:2.3.0
 Release:0
@@ -40,8 +39,8 @@
 Requires:   gawk
 Requires:   python-configobj
 Requires:   python-decorator
-Requires:   python-pyudev
 Requires:   python-gobject
+Requires:   python-pyudev
 %{?systemd_requires}
 BuildArch:  noarch
 Obsoletes:  pm-profiler
@@ -108,6 +107,9 @@
 # convert active_profile from full path to name (if needed)
 sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
 
+%pre
+%service_add_pre %{name}.service
+
 %preun
 %service_del_preun %{name}.service
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit tuned for openSUSE:Factory

2014-04-02 Thread h_root
Hello community,

here is the log from the commit of package tuned for openSUSE:Factory checked 
in at 2014-04-02 17:26:16

Comparing /work/SRC/openSUSE:Factory/tuned (Old)
 and  /work/SRC/openSUSE:Factory/.tuned.new (New)


Package is "tuned"

Changes:

--- /work/SRC/openSUSE:Factory/tuned/tuned.changes  2014-02-24 
10:02:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2014-04-02 
17:26:17.0 +0200
@@ -1,0 +2,9 @@
+Mon Mar 31 18:44:58 UTC 2014 - tr...@suse.de
+
+- Use cpupower {info,set} -b to set Intel perf bias value instead of
+  x86_energy_perf_policy we do not ship.
+  Add use_cpupower_for_intel_perf_bias
+- Add rctuned service link in /usr/sbin
+- Mark pm-profiler obsoleted by this package
+
+---

New:

  use_cpupower_for_intel_perf_bias



Other differences:
--
++ tuned.spec ++
--- /var/tmp/diff_new_pack.3S8Bby/_old  2014-04-02 17:26:18.0 +0200
+++ /var/tmp/diff_new_pack.3S8Bby/_new  2014-04-02 17:26:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tuned
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+
 Name:   tuned
 Version:2.3.0
 Release:0
@@ -30,6 +31,7 @@
 # PATCH-FIX-OPENSUSE fix-new-systemd-tmpfiles.d-path.patch Fix tmpfiles.d 
systemd path from /etc/tmpdfiles.d to /usr/lib/tmpfiles.d to be
 # compatible with new systemd --
 Patch1: fix-new-systemd-tmpfiles.d-path.patch 
+Patch2: use_cpupower_for_intel_perf_bias
 BuildRequires:  python
 BuildRequires:  systemd
 Requires:   /usr/bin/cpupower
@@ -42,6 +44,7 @@
 Requires:   python-gobject
 %{?systemd_requires}
 BuildArch:  noarch
+Obsoletes:  pm-profiler
 
 %description
 The tuned package contains a daemon that tunes system settings dynamically.
@@ -77,6 +80,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 #The tuned daemon is written in pure Python. Nothing requires to be built.
@@ -89,6 +93,7 @@
 rm -rf %{buildroot}/%{_datadir}/doc
 # Remove unwanted stuffs instead of exclude them in files list
 rm -rf 
%{buildroot}%{_libexecdir}/%{name}/{default,desktop-powersave,laptop-ac-powersave,server-powersave,laptop-battery-powersave,enterprise-storage,spindown-disk}
+ln -sf service $RPM_BUILD_ROOT/usr/sbin/rctuned
 
 %post
 %service_add_post %{name}.service
@@ -116,7 +121,10 @@
 %{python_sitelib}/tuned
 %{_sbindir}/tuned
 %{_sbindir}/tuned-adm
+%{_sbindir}/rctuned
 %{_libexecdir}/tuned
+# active_profile might be empty when built via build service, but typically
+# not on a real install -> better do not mark it %ghost
 %config(noreplace) %{_sysconfdir}/tuned/active_profile
 %config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
 %{_libexecdir}/tmpfiles.d

++ use_cpupower_for_intel_perf_bias ++
Index: tuned-2.3.0/tuned/plugins/plugin_cpu.py
===
--- tuned-2.3.0.orig/tuned/plugins/plugin_cpu.py
+++ tuned-2.3.0/tuned/plugins/plugin_cpu.py
@@ -90,7 +90,8 @@ class CPULatencyPlugin(base.Plugin):
# Check for cpupower, use workaround if not available
self._check_cpupower()
# Check for x86_energy_perf_policy, ignore if not 
available / supported
-   self._check_energy_perf_bias()
+   if self._has_cpupower is False:
+   self._check_energy_perf_bias()
# Check for intel_pstate
self._check_intel_pstate()
else:
@@ -206,7 +207,17 @@ class CPULatencyPlugin(base.Plugin):
 
@command_set("energy_perf_bias", per_device=True)
def _set_energy_perf_bias(self, energy_perf_bias, device):
-   if self._has_energy_perf_bias:
+   if self._has_cpupower is True:
+   bias_str = str(energy_perf_bias)
+   if bias_str == "performance":
+   bias_str = "0"
+   elif bias_str == "powersave":
+   bias_str = "15"
+   elif bias_str == "normal":
+   bias_str = "6"
+   cpu_id = device.lstrip("cpu")
+   tuned.utils.commands.execute(["cpupower", "-c", cpu_id, 
"set", "-b", bias_str])
+   elif self._has_energy_perf_bias:
log.info("setting ener