From 555abc2153f65a85cb05679434739016af9f693a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 26 Aug 2014 15:03:10 +0200 Subject: [PATCH] spec: packaged sap profile into tuned-profiles-sap subpackage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's optional and there may be more SAP profiles in the future, hus it's better to have special subpackage for it. Signed-off-by: Jaroslav Škarvada --- tuned.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tuned.spec b/tuned.spec index f7b2f79..39ec9a4 100644 --- a/tuned.spec +++ b/tuned.spec @@ -41,6 +41,13 @@ minimal, maximal and average time between operations to be able to identify applications that behave power inefficient (many small operations instead of fewer large ones). +%package profiles-sap +Summary: Additional tuned profile(s) targeted to SAP loads +Requires: %{name} = %{version}-%{release} + +%description profiles-sap +Additional tuned profile(s) targeted to SAP loads. + %package profiles-compat Summary: Additional tuned profiles mainly for backward compatibility with tuned 1.0 Requires: %{name} = %{version}-%{release} @@ -109,6 +116,7 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile %exclude %{_prefix}/lib/tuned/laptop-battery-powersave %exclude %{_prefix}/lib/tuned/enterprise-storage %exclude %{_prefix}/lib/tuned/spindown-disk +%exclude %{_prefix}/lib/tuned/sap %{_prefix}/lib/tuned %dir %{_sysconfdir}/tuned %config(noreplace) %{_sysconfdir}/tuned/active_profile @@ -141,6 +149,10 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile %{_mandir}/man8/diskdevstat.* %{_mandir}/man8/scomes.* +%files profiles-sap +%defattr(-,root,root,-) +%{_prefix}/lib/tuned/sap + %files profiles-compat %defattr(-,root,root,-) %{_prefix}/lib/tuned/default