spec: do not require subscription-manager on CentOS

Resolves: rhbz#2028865

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2021-12-06 12:55:51 +01:00
parent b3dc98ba8c
commit 23f3427426

View File

@ -35,7 +35,7 @@
Summary: A dynamic adaptive system tuning daemon Summary: A dynamic adaptive system tuning daemon
Name: tuned Name: tuned
Version: 2.16.0 Version: 2.16.0
Release: 3%{?prerel1}%{?dist} Release: 4%{?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
# RHEL-9 specific recommend.conf: # RHEL-9 specific recommend.conf:
@ -87,7 +87,10 @@ Recommends: kmod
%endif %endif
# syspurpose # syspurpose
%if 0%{?rhel} > 8 %if 0%{?rhel} > 8
# not on CentOS
%if 0%{!?centos:1}
Requires: subscription-manager Requires: subscription-manager
%endif
%else %else
%if 0%{?rhel} > 7 %if 0%{?rhel} > 7
Requires: python3-syspurpose Requires: python3-syspurpose
@ -532,6 +535,10 @@ fi
%{_mandir}/man7/tuned-profiles-postgresql.7* %{_mandir}/man7/tuned-profiles-postgresql.7*
%changelog %changelog
* Mon Dec 6 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-4
- spec: do not require subscription-manager on CentOS
Resolves: rhbz#2029405
* Wed Aug 18 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-3 * Wed Aug 18 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-3
- scheduler: allow exclude of processes from the specific cgroup(s) - scheduler: allow exclude of processes from the specific cgroup(s)
Resolves: rhbz#1980715 Resolves: rhbz#1980715