new release
rebased tuned to latest upstream resolves: rhbz#2003838 cpu-partitioning: fixed no_balance_cores on newer kernels resolves: rhbz#1874596 scheduler: allow exclude of processes from the specific cgroup(s) resolves: rhbz#1980715 switched to the configparser from the configobj resolves: rhbz#1936386 spec: do not require subscription-manager on CentOS resolves: rhbz#2029405
This commit is contained in:
parent
2d0f7da9a8
commit
49220948ed
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (tuned-2.16.0.tar.gz) = 35f04e1ee1ab3d8be711f0787db92c089cc210c75a3be0bc60389effaed8dc3fb502eff54ea0336154563f7b194f8ff286a2e408ab439a472b6d4922c64d5b03
|
SHA512 (tuned-2.17.0-rc.1.tar.gz) = 59e8dd69573de0a838ab0de4acc250ad5949c3bc0455604994d7b0fe6b4980f6ff2419613452e053fd24b4a47595eba10cf2e567b2c7c02c8317cfaabc394ab1
|
||||||
|
50
tuned.spec
50
tuned.spec
@ -17,24 +17,25 @@
|
|||||||
%global make_python_arg PYTHON=%{__python3}
|
%global make_python_arg PYTHON=%{__python3}
|
||||||
%else
|
%else
|
||||||
%{!?python2_sitelib:%global python2_sitelib %{python_sitelib}}
|
%{!?python2_sitelib:%global python2_sitelib %{python_sitelib}}
|
||||||
%global make_python_arg PYTHON=%{__python2}
|
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||||
|
%global make_python_arg PYTHON=%{__python}
|
||||||
%global _py python
|
%global _py python
|
||||||
%else
|
%else
|
||||||
|
%global make_python_arg PYTHON=%{__python2}
|
||||||
%global _py python2
|
%global _py python2
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#%%global prerelease rc
|
%global prerelease rc
|
||||||
#%%global prereleasenum 1
|
%global prereleasenum 1
|
||||||
|
|
||||||
%global prerel1 %{?prerelease:.%{prerelease}%{prereleasenum}}
|
%global prerel1 %{?prerelease:.%{prerelease}%{prereleasenum}}
|
||||||
%global prerel2 %{?prerelease:-%{prerelease}.%{prereleasenum}}
|
%global prerel2 %{?prerelease:-%{prerelease}.%{prereleasenum}}
|
||||||
|
|
||||||
Summary: A dynamic adaptive system tuning daemon
|
Summary: A dynamic adaptive system tuning daemon
|
||||||
Name: tuned
|
Name: tuned
|
||||||
Version: 2.16.0
|
Version: 2.17.0
|
||||||
Release: 1%{?prerel1}%{?dist}
|
Release: 0.1%{?prerel1}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz
|
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz
|
||||||
URL: http://www.tuned-project.org/
|
URL: http://www.tuned-project.org/
|
||||||
@ -51,10 +52,16 @@ Requires(postun): systemd
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: %{_py}, %{_py}-devel
|
BuildRequires: %{_py}, %{_py}-devel
|
||||||
# BuildRequires for 'make test'
|
# BuildRequires for 'make test'
|
||||||
BuildRequires: %{_py}-configobj
|
# python-mock is needed for python-2.7, but it's not available on RHEL-7
|
||||||
|
%if %{without python3} && ( ! 0%{?rhel} || 0%{?rhel} >= 8 )
|
||||||
|
BuildRequires: %{_py}-mock
|
||||||
|
%endif
|
||||||
BuildRequires: %{_py}-pyudev
|
BuildRequires: %{_py}-pyudev
|
||||||
Requires: %{_py}-pyudev, %{_py}-configobj
|
Requires: %{_py}-pyudev
|
||||||
Requires: %{_py}-linux-procfs, %{_py}-perf
|
Requires: %{_py}-linux-procfs, %{_py}-perf
|
||||||
|
%if %{without python3}
|
||||||
|
Requires: %{_py}-schedutils
|
||||||
|
%endif
|
||||||
# requires for packages with inconsistent python2/3 names
|
# requires for packages with inconsistent python2/3 names
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
# BuildRequires for 'make test'
|
# BuildRequires for 'make test'
|
||||||
@ -236,6 +243,13 @@ Requires: %{name} = %{version}
|
|||||||
%description profiles-postgresql
|
%description profiles-postgresql
|
||||||
Additional tuned profile(s) targeted to PostgreSQL server loads.
|
Additional tuned profile(s) targeted to PostgreSQL server loads.
|
||||||
|
|
||||||
|
%package profiles-openshift
|
||||||
|
Summary: Additional TuneD profile(s) optimized for OpenShift
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description profiles-openshift
|
||||||
|
Additional TuneD profile(s) optimized for OpenShift.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{version}%{?prerel2}
|
%autosetup -p1 -n %{name}-%{version}%{?prerel2}
|
||||||
|
|
||||||
@ -397,6 +411,9 @@ fi
|
|||||||
%exclude %{_prefix}/lib/tuned/cpu-partitioning
|
%exclude %{_prefix}/lib/tuned/cpu-partitioning
|
||||||
%exclude %{_prefix}/lib/tuned/spectrumscale-ece
|
%exclude %{_prefix}/lib/tuned/spectrumscale-ece
|
||||||
%exclude %{_prefix}/lib/tuned/postgresql
|
%exclude %{_prefix}/lib/tuned/postgresql
|
||||||
|
%exclude %{_prefix}/lib/tuned/openshift
|
||||||
|
%exclude %{_prefix}/lib/tuned/openshift-control-plane
|
||||||
|
%exclude %{_prefix}/lib/tuned/openshift-node
|
||||||
%{_prefix}/lib/tuned
|
%{_prefix}/lib/tuned
|
||||||
%dir %{_sysconfdir}/tuned
|
%dir %{_sysconfdir}/tuned
|
||||||
%dir %{_sysconfdir}/tuned/recommend.d
|
%dir %{_sysconfdir}/tuned/recommend.d
|
||||||
@ -515,7 +532,26 @@ fi
|
|||||||
%{_prefix}/lib/tuned/postgresql
|
%{_prefix}/lib/tuned/postgresql
|
||||||
%{_mandir}/man7/tuned-profiles-postgresql.7*
|
%{_mandir}/man7/tuned-profiles-postgresql.7*
|
||||||
|
|
||||||
|
%files profiles-openshift
|
||||||
|
%{_prefix}/lib/tuned/openshift
|
||||||
|
%{_prefix}/lib/tuned/openshift-control-plane
|
||||||
|
%{_prefix}/lib/tuned/openshift-node
|
||||||
|
%{_mandir}/man7/tuned-profiles-openshift.7*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 2 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.17.0-0.1.rc1
|
||||||
|
- new release
|
||||||
|
- rebased tuned to latest upstream
|
||||||
|
resolves: rhbz#2003838
|
||||||
|
- cpu-partitioning: fixed no_balance_cores on newer kernels
|
||||||
|
resolves: rhbz#1874596
|
||||||
|
- scheduler: allow exclude of processes from the specific cgroup(s)
|
||||||
|
resolves: rhbz#1980715
|
||||||
|
- switched to the configparser from the configobj
|
||||||
|
resolves: rhbz#1936386
|
||||||
|
- spec: do not require subscription-manager on CentOS
|
||||||
|
resolves: rhbz#2029405
|
||||||
|
|
||||||
* Wed Jul 21 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-1
|
* Wed Jul 21 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-1
|
||||||
- new release
|
- new release
|
||||||
- rebased tuned to latest upstream
|
- rebased tuned to latest upstream
|
||||||
|
Loading…
Reference in New Issue
Block a user